mirror of
https://github.com/ruby/ruby.git
synced 2025-09-17 17:43:59 +02:00
Explicitly convert function pointer to void pointer
This commit is contained in:
parent
b8dff14afa
commit
edede7733d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue