Fix WASM_PAGE_SIZE

This commit is contained in:
Felix Schütt
2022-10-14 16:03:30 +02:00
parent e6f6e6047a
commit 8be77c91ff

View File

@@ -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)