diff --git a/src/compiler/orcv2.jl b/src/compiler/orcv2.jl index 4673cf30c7..795d1f71d4 100644 --- a/src/compiler/orcv2.jl +++ b/src/compiler/orcv2.jl @@ -269,7 +269,7 @@ function lookup(name) @static if sizeof(Int) == sizeof(Int64) LLVM.lookup(jit[].jit, name) else - UInt(LLVM.lookup(jit[].jit, name)) + UInt(reinterpret(UInt64, LLVM.lookup(jit[].jit, name))) end end