mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
fix zig usize/u64 issues
This commit is contained in:
parent
9903e14cd3
commit
9037e57e14
2 changed files with 3 additions and 3 deletions
|
@ -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{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue