about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-10 09:25:31 +0200
committerGitHub <noreply@github.com>2020-06-10 09:25:31 +0200
commit5cb6dc77955bb19316859c37684cb838418392cc (patch)
tree57eb77c19ecdf391440a38e7b1b0644b725c903b /src
parentaf66d8027bbd90697cd7b56c4a8cfedebb97daa0 (diff)
parent4ee4495120e93d3a5cab5625a5a8feb616f95246 (diff)
downloadafl++-5cb6dc77955bb19316859c37684cb838418392cc.tar.gz
Merge pull request #398 from devnexen/array_subscript_warn_fix
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; }
 
   }