summaryrefslogtreecommitdiff
path: root/src/makeint.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2022-09-24 10:46:55 -0400
committerPaul Smith <psmith@gnu.org>2022-09-25 13:37:12 -0400
commitcf7f7de7ae62e85102920e5e63cbfe8c5aaf7f88 (patch)
treef8695c868fb648d6dc9790b34bd90f3684a7e9f9 /src/makeint.h
parentd4cb7ae6d486089006eee182b12ad0f4309119dd (diff)
downloadmake-git-cf7f7de7ae62e85102920e5e63cbfe8c5aaf7f88.tar.gz
* src/misc.c (strncasecmp): Use size_t for length to match std.
* src/misc.h (strncasecmp): Fix the declaration.
Diffstat (limited to 'src/makeint.h')
-rw-r--r--src/makeint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makeint.h b/src/makeint.h
index 54b500f3..a9cc864f 100644
--- a/src/makeint.h
+++ b/src/makeint.h
@@ -675,7 +675,7 @@ int strcasecmp (const char *s1, const char *s2);
# define strncasecmp strncmpi
# else
/* Create our own, in misc.c */
-int strncasecmp (const char *s1, const char *s2, int n);
+int strncasecmp (const char *s1, const char *s2, size_t n);
# endif
#endif