1
0
mirror of https://github.com/apache/httpd.git synced 2025-07-30 20:03:10 +03:00

Fix: (long should be *plenty*!)

apreq_module_cgi.c:103:16: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
    while (--p >= 0) {
           ~~~ ^  ~
    1 warning generated.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1498909 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jim Jagielski
2013-07-02 12:47:11 +00:00
parent a011e2a43f
commit f43fb7a218

View File

@ -99,7 +99,7 @@ static const TRANS priorities[] = {
};
static char* chomp(char* str) {
apr_size_t p = strlen(str);
long p = (long)strlen(str);
while (--p >= 0) {
switch ((char)(str[p])) {
case '\015':