aboutsummaryrefslogtreecommitdiffstats
path: root/util/iobuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/iobuf.c')
-rw-r--r--util/iobuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/iobuf.c b/util/iobuf.c
index 5f0e84383..2cbde7f90 100644
--- a/util/iobuf.c
+++ b/util/iobuf.c
@@ -146,7 +146,7 @@ fd_cache_strcmp (const char *a, const char *b)
|| (*a == '\\' && *b == '/')) )
break;
}
- return *(const unsigned *)a - *(const unsigned *)b;
+ return *(const unsigned char *)a - *(const unsigned char *)b;
#else
return strcmp (a, b);
#endif