From 426c80acdcefe845e119e35f68a6eed0a778bd46 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Sun, 22 Dec 2013 09:20:34 -0500 Subject: [PATCH] silence compiler warning --- src/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.c b/src/init.c index 2f8952dffe8c0..49f539bdd4f12 100644 --- a/src/init.c +++ b/src/init.c @@ -591,7 +591,7 @@ kern_return_t catch_exception_raise(mach_port_t exception_port, ret = thread_get_state(thread,x86_EXCEPTION_STATE64,(thread_state_t)&exc_state,&exc_count); HANDLE_MACH_ERROR("thread_get_state(1)",ret); uint64_t fault_addr = exc_state.__faultvaddr; - if (is_addr_on_stack(fault_addr)) { + if (is_addr_on_stack((void*) fault_addr)) { ret = thread_get_state(thread,x86_THREAD_STATE64,(thread_state_t)&state,&count); HANDLE_MACH_ERROR("thread_get_state(2)",ret); old_state = state;