Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
oxlime committed Nov 7, 2023
1 parent c57896f commit eff3c58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vm/builtins/builtin_runner/range_check.zig
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,9 @@ pub const RangeCheckBuiltinRunner = struct {
};

if (num.Mask <= N_PARTS * INNER_RC_BOUND_SHIFT) {
return result.append(address);
return try result.append(address);
} else {
return result.append(Error.MemoryOutOfBounds);
return try result.append(Error.MemoryOutOfBounds);
}
}

Expand Down

0 comments on commit eff3c58

Please sign in to comment.