summaryrefslogtreecommitdiff
path: root/src/wasm-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-common.h')
-rw-r--r--src/wasm-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-common.h b/src/wasm-common.h
index 21d7bd88..4d5f088f 100644
--- a/src/wasm-common.h
+++ b/src/wasm-common.h
@@ -40,7 +40,7 @@
#define WASM_UNKNOWN_OFFSET ((uint32_t)~0)
#define WASM_PAGE_SIZE 0x10000 /* 64k */
-#define WASM_MAX_PAGES 0x10000 /* # of pages that fit in 32-bit address space */
+#define WASM_MAX_PAGES 0x0ffff /* # of pages that fit in 32-bit address space */
#define PRIstringslice "%.*s"
#define WASM_PRINTF_STRING_SLICE_ARG(x) (int)((x).length), (x).start