mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-15 00:45:04 +01:00
fix struct literals
This commit is contained in:
parent
b0b92dae0f
commit
1551847d8c
2 changed files with 11 additions and 5 deletions
4
std.nil
4
std.nil
|
|
@ -98,12 +98,12 @@ mod rt (
|
|||
// 16 pages, very arbitrary.
|
||||
let result = __memory_grow(16_I32);
|
||||
// If allocation failed we get -1. We don't have negative numbers yet, lol.
|
||||
if result > 100000000_I32 then (
|
||||
if result > 4294967295_I32 then (
|
||||
std.abort("failed to grow memory");
|
||||
);
|
||||
);
|
||||
|
||||
0_I32
|
||||
actualObjPtr
|
||||
);
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue