about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2020-06-09 22:43:31 +0100
committerDavid Carlier <devnexen@gmail.com>2020-06-09 22:43:31 +0100
commit4ee4495120e93d3a5cab5625a5a8feb616f95246 (patch)
treecd70c1944ecb7a49db938d4376fd8020dd59f01e /src
parentc02721775a6a6e864631eec7dbd83925e4930d42 (diff)
downloadafl++-4ee4495120e93d3a5cab5625a5a8feb616f95246.tar.gz
Disable array subscript warning
Diffstat (limited to 'src')
-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; }
 
   }