mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-30 18:03:46 +00:00
Fix benchmark host for 32-bit targets
This commit is contained in:
parent
54d0bc43b2
commit
3ce387b3e5
1 changed files with 3 additions and 3 deletions
|
@ -189,14 +189,14 @@ fn roc_fx_getInt_64bit() callconv(.C) GetInt {
|
|||
|
||||
fn roc_fx_getInt_32bit(output: *GetInt) callconv(.C) void {
|
||||
if (roc_fx_getInt_help()) |value| {
|
||||
const get_int = GetInt{ .is_error = false, .value = value, .error_code = false };
|
||||
const get_int = GetInt{ .is_error = false, .value = value };
|
||||
output.* = get_int;
|
||||
} else |err| switch (err) {
|
||||
error.InvalidCharacter => {
|
||||
output.* = GetInt{ .is_error = true, .value = 0, .error_code = false };
|
||||
output.* = GetInt{ .is_error = true, .value = 0 };
|
||||
},
|
||||
else => {
|
||||
output.* = GetInt{ .is_error = true, .value = 0, .error_code = true };
|
||||
output.* = GetInt{ .is_error = true, .value = 0 };
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue