From: William A. Rowe Jr Date: Mon, 3 May 2004 20:15:26 +0000 (+0000) Subject: Trival patch for a signed/unsigned compare emit in the for condition, X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f880b142748462cb8a1a69ecb155f6c4f7b4c274;p=thirdparty%2Fapache%2Fhttpd.git Trival patch for a signed/unsigned compare emit in the for condition, 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 --- diff --git a/src/main/http_core.c b/src/main/http_core.c index ce3daca232a..5e3a714f1c6 100644 --- a/src/main/http_core.c +++ b/src/main/http_core.c @@ -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);