From: ellson Date: Wed, 20 Jul 2005 03:33:10 +0000 (+0000) Subject: use size_t in strncasecmp X-Git-Tag: LAST_LIBGRAPH~32^2~7403 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2d8da4e4d3ebbff4baf007043ffd8adb8991029;p=graphviz use size_t in strncasecmp --- 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);