about summary refs log tree commit diff
path: root/src/afl-showmap.c
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2020-05-09 23:21:26 +0100
committerGitHub <noreply@github.com>2020-05-10 00:21:26 +0200
commit515de0d68d30a4e69fe5fb971c622391185fc4ba (patch)
tree0a69ca39b459d5ecd6c59538f2766c73cb79f9e5 /src/afl-showmap.c
parent1eeb6785adb1daba4970c923a3e9344c294deebd (diff)
downloadafl++-515de0d68d30a4e69fe5fb971c622391185fc4ba.tar.gz
Illumos biuld fix (#357)
Diffstat (limited to 'src/afl-showmap.c')
-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 a51d520d..784d323d 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -865,7 +865,7 @@ int main(int argc, char **argv_orig, char **envp) {
 
     }
 
-    stdin_file = alloc_printf("%s/.afl-showmap-temp-%u", use_dir, getpid());
+    stdin_file = alloc_printf("%s/.afl-showmap-temp-%u", use_dir, (u32)getpid());
     unlink(stdin_file);
     atexit(at_exit_handler);
     fsrv->out_fd = open(stdin_file, O_RDWR | O_CREAT | O_EXCL, 0600);