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);