diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2020-10-05 14:30:04 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:24 -0400 |
| commit | edede7733d2a16872918081c1dad2c1ed096dc36 (patch) | |
| tree | 0e9c8c31ce73fa16f0cfc9cffe99293558b40295 | |
| parent | b8dff14afa050c1550094420be904e00342f227b (diff) | |
Explicitly convert function pointer to void pointer
| -rw-r--r-- | ujit_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
