From: Bill Stoddard Date: Mon, 19 Jun 2000 18:11:47 +0000 (+0000) Subject: Get rid of more compiler warnings. X-Git-Tag: APACHE_2_0_ALPHA_5~297 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e40320b5328384d23fa6fb384682df7a04c6dbe;p=apache Get rid of more compiler warnings. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85618 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/mod_mime.c b/modules/http/mod_mime.c index 4b54064435..6982a843bc 100644 --- a/modules/http/mod_mime.c +++ b/modules/http/mod_mime.c @@ -478,7 +478,7 @@ static content_type *analyze_ct(request_rec *r, char *s) while (cp != NULL && *cp != '\0') { if (attribute == NULL) { - if (is_token((int) *cp) > 0) { + if (is_token(*cp) > 0) { cp++; continue; } @@ -522,7 +522,7 @@ static content_type *analyze_ct(request_rec *r, char *s) } if (quoted > 0) { while (quoted && *cp != '\0') { - if (is_qtext((int) *cp) > 0) { + if (is_qtext(*cp) > 0) { cp++; } else if (is_quoted_pair(cp) > 0) { @@ -549,7 +549,7 @@ static content_type *analyze_ct(request_rec *r, char *s) } else { while (1) { - if (is_token((int) *cp) > 0) { + if (is_token(*cp) > 0) { cp++; } else if (*cp == '\0' || *cp == ';') {