mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
use usize instead of i64 in hash and compare
This commit is contained in:
parent
69e4f6d208
commit
ce6ab15139
2 changed files with 5 additions and 5 deletions
|
@ -878,7 +878,7 @@ fn hash_bitcode_fn<'a, 'ctx, 'env>(
|
|||
buffer: PointerValue<'ctx>,
|
||||
width: u32,
|
||||
) -> IntValue<'ctx> {
|
||||
let num_bytes = env.context.i64_type().const_int(width as u64, false);
|
||||
let num_bytes = env.ptr_int().const_int(width as u64, false);
|
||||
|
||||
call_bitcode_fn(
|
||||
env,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue