Skip to content

Commit f1ffbb5

Browse files
TianlongLiangloganek
authored andcommitted
cr suggestions
1 parent 2e4ebfb commit f1ffbb5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/iwasm/common/wasm_memory.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,6 +1255,8 @@ wasm_mremap_linear_memory(void *mapped_mem, uint64 old_size, uint64 new_size,
12551255

12561256
#if UINTPTR_MAX == UINT32_MAX
12571257
if (new_size == 4 * (uint64)BH_GB) {
1258+
LOG_WARNING("On 32 bit platform, linear memory can't reach maximum "
1259+
"size of 4GB\n");
12581260
return NULL;
12591261
}
12601262
#endif

0 commit comments

Comments
 (0)