summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-03-09 20:24:01 +0000
committerJim Meyering <jim@meyering.net>1996-03-09 20:24:01 +0000
commitd385bbc98542ea77523412a71c2d1043573fee70 (patch)
tree6ff4418fa6285ec54c54c219c220b4e2ef6169de /src
parent715765a5487d2e37c4d48e216e6958883db6a41f (diff)
downloadcoreutils-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.c2
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++)