]> granicus.if.org Git - apache/commitdiff
Turn a int into a apr_size_t for a variabe used to compute a string length
authorChristophe Jaillet <jailletc36@apache.org>
Mon, 15 Apr 2013 14:17:39 +0000 (14:17 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 15 Apr 2013 14:17:39 +0000 (14:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1468089 13f79535-47bb-0310-9956-ffa450edef68

server/util.c

index cfac4d262004c53afcb34217b295df06317c17fc..676759fe48724acb90cc67713180ffb5e15bd2b5 100644 (file)
@@ -1850,7 +1850,7 @@ AP_DECLARE(char *) ap_escape_logitem(apr_pool_t *p, const char *str)
     char *ret;
     unsigned char *d;
     const unsigned char *s;
-    int length = 0;
+    apr_size_t length = 0;
 
     if (!str) {
         return NULL;