]> granicus.if.org Git - apache/commitdiff
Get rid of more compiler warnings.
authorBill Stoddard <stoddard@apache.org>
Mon, 19 Jun 2000 18:11:47 +0000 (18:11 +0000)
committerBill Stoddard <stoddard@apache.org>
Mon, 19 Jun 2000 18:11:47 +0000 (18:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85618 13f79535-47bb-0310-9956-ffa450edef68

modules/http/mod_mime.c

index 4b540644350c671cae6b0df269555f33dc29e16a..6982a843bcc47ab0fd943b804c161d1cd10de9bd 100644 (file)
@@ -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 == ';') {