From 281177aa9df8192209bd75661376f69a439e9667 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sat, 22 Jul 2017 23:40:59 +0800 Subject: [PATCH] regress: an attempt to fix build error on mem_fuzz.c --- tests/regress/mem_fuzz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/regress/mem_fuzz.c b/tests/regress/mem_fuzz.c index e54c8a3c..76a7e2d9 100644 --- a/tests/regress/mem_fuzz.c +++ b/tests/regress/mem_fuzz.c @@ -55,7 +55,7 @@ void perform_unmap_step(uc_engine *uc){ void perform_write_step(uc_engine *uc){ char* buff[4096*4]; - memset(buff, 0, 4096*4); + memset((void *)buff, 0, 4096*4); uint64_t addr = get_addr(); uint64_t len = get_len()%(4096*3); printf("write(uc,0x%"PRIx64",0x%"PRIx64"); //%d\n", addr, len, step);