]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Trival patch for a signed/unsigned compare emit in the for condition,
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 3 May 2004 20:15:26 +0000 (20:15 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 3 May 2004 20:15:26 +0000 (20:15 +0000)
  since i is running from 0 to strlen(nonce) and strlen is defined to
  return size_t, quiet the picky compiler warnings of VC and probably
  some others.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@103584 13f79535-47bb-0310-9956-ffa450edef68

src/main/http_core.c

index ce3daca232a276ac7206017ea64d45ef0f644f94..5e3a714f1c6015ad8a8c80c7eb880bb41528cdf0 100644 (file)
@@ -2846,7 +2846,7 @@ static const char *set_authname(cmd_parms *cmd, void *mconfig, char *word1)
 static const char *set_authnonce (cmd_parms *cmd, void *mconfig, char *word1)
 {
     core_dir_config *aconfig = (core_dir_config *)mconfig;
-    int i;
+    size_t i;
 
     aconfig->ap_auth_nonce = ap_escape_quotes(cmd->pool, word1);