diff options
author | Jim Meyering <jim@meyering.net> | 1996-03-09 20:24:01 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-03-09 20:24:01 +0000 |
commit | d385bbc98542ea77523412a71c2d1043573fee70 (patch) | |
tree | 6ff4418fa6285ec54c54c219c220b4e2ef6169de /src | |
parent | 715765a5487d2e37c4d48e216e6958883db6a41f (diff) | |
download | coreutils-d385bbc98542ea77523412a71c2d1043573fee70.tar.xz |
(memcasecmp): Declare local I to be unsigned to avoid warning from gcc -Wall.
Diffstat (limited to 'src')
-rw-r--r-- | src/join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/join.c b/src/join.c index 85bd6cf0b..e9c5bb145 100644 --- a/src/join.c +++ b/src/join.c @@ -207,7 +207,7 @@ separated by CHAR.\n\ static int memcasecmp (const void *vs1, const void *vs2, size_t n) { - int i; + unsigned int i; unsigned char *s1 = (unsigned char *) vs1; unsigned char *s2 = (unsigned char *) vs2; for (i = 0; i < n; i++) |