summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-11-04 15:27:31 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-11-04 15:27:31 -0800
commit89ade169dc44964b55dbb1bcb584fb14beb70ebb (patch)
tree26de04dd736e554ee7dbff4a5200f76ee7bfe240 /src/wasm.h
parent87f90374a799beeb5b3541bb8e2870f0eaedd80a (diff)
downloadbinaryen-89ade169dc44964b55dbb1bcb584fb14beb70ebb.tar.gz
binaryen-89ade169dc44964b55dbb1bcb584fb14beb70ebb.tar.bz2
binaryen-89ade169dc44964b55dbb1bcb584fb14beb70ebb.zip
offset and alignment fixes
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm.h b/src/wasm.h
index d539b09fd..6655a167e 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -489,7 +489,7 @@ public:
unsigned bytes;
bool signed_;
- int offset;
+ uint32_t offset;
unsigned align;
Expression *ptr;
@@ -524,7 +524,7 @@ public:
Store() : Expression(StoreId) {}
unsigned bytes;
- int offset;
+ uint32_t offset;
unsigned align;
Expression *ptr, *value;