From: Brian Havard Date: Mon, 24 Apr 2000 06:51:22 +0000 (+0000) Subject: Change strncasecmp() definition to match Bill's prototype. Fixes compile X-Git-Tag: APACHE_2_0_ALPHA_3~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c2410d6e2aad3a40a722d8b3ec55b6c14db9912;p=thirdparty%2Fapache%2Fhttpd.git Change strncasecmp() definition to match Bill's prototype. Fixes compile break on OS/2. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85022 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/util.c b/server/util.c index 3e9eb6a2a1d..169eca0a4aa 100644 --- a/server/util.c +++ b/server/util.c @@ -1713,7 +1713,7 @@ int strcasecmp(const char *a, const char *b) #endif #ifndef HAVE_STRNCASECMP -int strncasecmp(const char *a, const char *b, int n) +int strncasecmp(const char *a, const char *b, size_t n) { const char *p = a; const char *q = b;