From 302e71779095357d1f04e97085a6db9dd10530ae Mon Sep 17 00:00:00 2001 From: hexcxoder- Date: Sat, 20 Jul 2019 15:04:07 +0200 Subject: better rely on compiler for size information --- afl-tmin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'afl-tmin.c') diff --git a/afl-tmin.c b/afl-tmin.c index d6fd27fc..f62a144f 100644 --- a/afl-tmin.c +++ b/afl-tmin.c @@ -671,7 +671,7 @@ next_del_blksize: alpha_del1 = 0; syms_removed = 0; - memset(alpha_map, 0, 256 * sizeof(u32)); + memset(alpha_map, 0, sizeof(alpha_map)); for (i = 0; i < in_len; i++) { if (!alpha_map[in_data[i]]) alpha_size++; -- cgit 1.4.1