diff options
author | Paul Smith <psmith@gnu.org> | 2022-09-24 10:46:55 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2022-09-25 13:37:12 -0400 |
commit | cf7f7de7ae62e85102920e5e63cbfe8c5aaf7f88 (patch) | |
tree | f8695c868fb648d6dc9790b34bd90f3684a7e9f9 /src/makeint.h | |
parent | d4cb7ae6d486089006eee182b12ad0f4309119dd (diff) | |
download | make-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.h | 2 |
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 |