mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-08 20:56:13 +00:00
cr suggestions
This commit is contained in:
parent
2e4ebfb20a
commit
f1ffbb5b37
|
@ -1255,6 +1255,8 @@ wasm_mremap_linear_memory(void *mapped_mem, uint64 old_size, uint64 new_size,
|
||||||
|
|
||||||
#if UINTPTR_MAX == UINT32_MAX
|
#if UINTPTR_MAX == UINT32_MAX
|
||||||
if (new_size == 4 * (uint64)BH_GB) {
|
if (new_size == 4 * (uint64)BH_GB) {
|
||||||
|
LOG_WARNING("On 32 bit platform, linear memory can't reach maximum "
|
||||||
|
"size of 4GB\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user