From e2d8da4e4d3ebbff4baf007043ffd8adb8991029 Mon Sep 17 00:00:00 2001 From: ellson Date: Wed, 20 Jul 2005 03:33:10 +0000 Subject: [PATCH] use size_t in strncasecmp --- lib/common/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/utils.h b/lib/common/utils.h index d28b706e6..dcc324951 100644 --- a/lib/common/utils.h +++ b/lib/common/utils.h @@ -29,7 +29,7 @@ extern "C" { extern int strcasecmp(const char *s1, const char *s2); #endif #ifndef HAVE_STRNCASECMP - extern int strncasecmp(const char *s1, const char *s2, unsigned int n); + extern int strncasecmp(const char *s1, const char *s2, size_t n); #endif extern void *zmalloc(size_t); -- 2.40.0