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:
@ -99,7 +99,7 @@ static const TRANS priorities[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static char* chomp(char* str) {
|
static char* chomp(char* str) {
|
||||||
apr_size_t p = strlen(str);
|
long p = (long)strlen(str);
|
||||||
while (--p >= 0) {
|
while (--p >= 0) {
|
||||||
switch ((char)(str[p])) {
|
switch ((char)(str[p])) {
|
||||||
case '\015':
|
case '\015':
|
||||||
|
Reference in New Issue
Block a user