mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
repl: Change LLVM macro to use address instead of pointer
This commit is contained in:
parent
06079ccde5
commit
d7f10d80ae
2 changed files with 5 additions and 10 deletions
|
@ -95,7 +95,7 @@ macro_rules! run_jit_function_dynamic_type {
|
|||
let flag = *result;
|
||||
|
||||
if flag == 0 {
|
||||
$transform(result.add(std::mem::size_of::<RocCallResult<()>>()) as *const u8)
|
||||
$transform(result.add(std::mem::size_of::<RocCallResult<()>>()) as usize)
|
||||
} else {
|
||||
use std::ffi::CString;
|
||||
use std::os::raw::c_char;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue