mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-10 14:48:27 +00:00
Fix WASM_PAGE_SIZE
This commit is contained in:
@@ -38,7 +38,7 @@ impl VMMemory {
|
||||
if dummy.byte_length == 0 {
|
||||
return 0;
|
||||
}
|
||||
dummy.byte_length / WASM_PAGE_SIZE
|
||||
dummy.byte_length / WASM_PAGE_SIZE as u32
|
||||
}
|
||||
|
||||
/// Attempts to clone this memory (if its clonable)
|
||||
|
||||
Reference in New Issue
Block a user