regress: an attempt to fix build error on mem_fuzz.c

This commit is contained in:
Nguyen Anh Quynh 2017-07-22 23:40:59 +08:00
parent 42d0632108
commit 281177aa9d

View File

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