From 03683a7960314ea26f878519aa0a667b996fc3ec Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Thu, 3 Sep 2015 01:18:41 +0800 Subject: [PATCH] fix an warning caused by _hook_mem_access() --- uc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uc.c b/uc.c index c42123e0..e0e9c655 100644 --- a/uc.c +++ b/uc.c @@ -593,7 +593,7 @@ static int _hook_code(uch handle, int type, uint64_t begin, uint64_t end, } -static uc_err _hook_mem_access(uch handle, uc_mem_type type, +static uc_err _hook_mem_access(uch handle, uc_hook_t type, uint64_t begin, uint64_t end, void *callback, void *user_data, uch *h2) {