fix zig usize/u64 issues

This commit is contained in:
Folkert 2021-08-23 21:45:12 +02:00
parent 9903e14cd3
commit 9037e57e14
2 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@ pub const RocStr = extern struct {
return result;
}
pub fn initBig(_: InPlace, number_of_chars: u64) RocStr {
pub fn initBig(_: InPlace, number_of_chars: usize) RocStr {
const first_element = utils.allocateWithRefcount(number_of_chars, @sizeOf(usize));
return RocStr{