From edede7733d2a16872918081c1dad2c1ed096dc36 Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Mon, 5 Oct 2020 14:30:04 -0400 Subject: [PATCH] Explicitly convert function pointer to void pointer --- ujit_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ujit_utils.c b/ujit_utils.c index 58389fd6b9..0594503924 100644 --- a/ujit_utils.c +++ b/ujit_utils.c @@ -77,7 +77,7 @@ void print_str(codeblock_t* cb, const char* str) cb_write_byte(cb, 0); // Call the print function - mov(cb, RAX, const_ptr_opnd(&print_str_cfun)); + mov(cb, RAX, const_ptr_opnd((void*)&print_str_cfun)); call(cb, RAX); pop_regs(cb);