Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wasm2c/wasm-rt-impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ static uint64_t grow_memory_impl(wasm_rt_memory_t* memory, uint64_t delta) {
uint64_t wasm_rt_grow_memory(wasm_rt_memory_t* memory, uint64_t delta) {
uint64_t ret = grow_memory_impl(memory, delta);
#ifdef WASM_RT_GROW_FAILED_HANDLER
if (ret == -1) {
if (ret == (uint64_t)-1) {
WASM_RT_GROW_FAILED_HANDLER();
}
#endif
Expand Down