From fea7841e9e5f5a04c341303ccbe33d2dfcc120b4 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 13 Jan 2016 16:49:02 -0800 Subject: avoid char casting bug in wasm-binary --- src/wasm-binary.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/wasm-binary.h b/src/wasm-binary.h index a5b4681f0..e51d194b1 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -329,7 +329,7 @@ enum MemoryAccess { } // namespace BinaryConsts -char binaryWasmType(WasmType type) { +int8_t binaryWasmType(WasmType type) { switch (type) { case none: return 0; case i32: return 1; -- cgit v1.2.3