aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2021-02-13 13:42:37 +0100
committerhexcoder- <heiko@hexco.de>2021-02-13 13:42:37 +0100
commit1d60c39191478334e27ddf4f60cf9b27710502f0 (patch)
treef1fb2ca25fc5ad02c5a7282cc0b317d7b297e663 /src
parent70651d60bdc5c70a8a699e0873a4726e1347a7c3 (diff)
downloadafl++-1d60c39191478334e27ddf4f60cf9b27710502f0.tar.gz
fix new compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/afl-showmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-showmap.c b/src/afl-showmap.c
index 2e421065..0d2c5ceb 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -1168,7 +1168,7 @@ int main(int argc, char **argv_orig, char **envp) {
}
- stdin_file = at_file ? strdup(at_file) :
+ stdin_file = at_file ? strdup(at_file) : (char *)
alloc_printf("%s/.afl-showmap-temp-%u", use_dir, (u32)getpid());
unlink(stdin_file);
atexit(at_exit_handler);