]> granicus.if.org Git - apache/commitdiff
Signedness error
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 7 Jun 2008 02:04:41 +0000 (02:04 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 7 Jun 2008 02:04:41 +0000 (02:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@664239 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_socache_memcache.c

index a9b0f47ac10324fa66ce0a7e28067bf8a330ee3b..c42dfa69fb85fc92ba082b8f63e2bd2747a842b6 100644 (file)
@@ -173,7 +173,7 @@ static void mc_session_id2sz(ap_socache_instance_t *ctx,
 {
     apr_size_t maxlen = (buflen - ctx->taglen) / 2;
     char *cp;
-    int n;
+    unsigned int n;
 
     cp = apr_cpystrn(buf, ctx->tag, ctx->taglen);
     for (n = 0; n < idlen && n < maxlen; n++) {