summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-06-22 20:12:06 +0200
committerAlon Zakai <alonzakai@gmail.com>2017-06-22 11:12:06 -0700
commit17f3d395774195c8d8595b9417f4856b5c95be52 (patch)
treebdb55add2257e5f5ccf29d40b83676058af12789 /src
parent4f21c0f8c8c891dab0ce9302ae0a9ea0be6925d8 (diff)
downloadbinaryen-17f3d395774195c8d8595b9417f4856b5c95be52.tar.gz
binaryen-17f3d395774195c8d8595b9417f4856b5c95be52.tar.bz2
binaryen-17f3d395774195c8d8595b9417f4856b5c95be52.zip
Change char to auto to avoid type-limits warn on some arches (#1066)
Fixes #1059
Diffstat (limited to 'src')
-rw-r--r--src/wasm/wasm-binary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/wasm-binary.cpp b/src/wasm/wasm-binary.cpp
index 54b9a5bda..3b6bbbb9d 100644
--- a/src/wasm/wasm-binary.cpp
+++ b/src/wasm/wasm-binary.cpp
@@ -1456,7 +1456,7 @@ static int32_t readBase64VLQ(std::istream& in) {
uint32_t value = 0;
uint32_t shift = 0;
while (1) {
- char ch = in.get();
+ auto ch = in.get();
if (ch == EOF)
throw MapParseException("unexpected EOF in the middle of VLQ");
if ((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch < 'g')) {