]> granicus.if.org Git - apache/commitdiff
* modules/proxy/ajp_msg.c (ajp_msg_dump): Cast apr_size_t to unsigned
authorJoe Orton <jorton@apache.org>
Mon, 13 Sep 2004 10:39:37 +0000 (10:39 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 13 Sep 2004 10:39:37 +0000 (10:39 +0000)
long to avoid the warning with %lx for 32-bit size_t too.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105104 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/ajp_msg.c

index 2b5b4b80393fbe9465bd51e3fa3e6bc27566e041..2c553d934cca911bc5c292fe93cd6c20e0125be7 100644 (file)
@@ -70,7 +70,7 @@ apr_status_t ajp_msg_dump(ajp_msg_t *msg, char *err)
 
         ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, NULL,
                       "ajp_msg_dump(): %.4lx    %s",
-                      i, line);
+                      (unsigned long)i, line);
     }
     
     return APR_SUCCESS;