diff options
Diffstat (limited to 'src/wasm-s-parser.h')
-rw-r--r-- | src/wasm-s-parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h index 965336857..4c22fb1e3 100644 --- a/src/wasm-s-parser.h +++ b/src/wasm-s-parser.h @@ -826,7 +826,7 @@ private: } else if (str[0] == 'o') { uint64_t offset = atoll(eq); if (offset > 0xffffffff) onError(); - ret->offset = offset; + ret->offset = (uint32_t)offset; } else onError(); i++; } |