about summary refs log tree commit diff
path: root/src/afl-fuzz.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r--src/afl-fuzz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index d5fed9f2..fdc96931 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -231,7 +231,7 @@ static int stricmp(char const *a, char const *b) {
   for (;; ++a, ++b) {
 
     int d;
-    d = tolower(*a) - tolower(*b);
+    d = tolower((int)*a) - tolower((int)*b);
     if (d != 0 || !*a) { return d; }
 
   }