commit | 17f3d395774195c8d8595b9417f4856b5c95be52 | [log] [tgz] |
---|---|---|
author | Jakub Jirutka <jakub@jirutka.cz> | Thu Jun 22 18:12:06 2017 |
committer | Alon Zakai <alonzakai@gmail.com> | Thu Jun 22 18:12:06 2017 |
tree | bdb55add2257e5f5ccf29d40b83676058af12789 | |
parent | 4f21c0f8c8c891dab0ce9302ae0a9ea0be6925d8 [diff] |
Change char to auto to avoid type-limits warn on some arches (#1066) Fixes #1059
diff --git a/src/wasm/wasm-binary.cpp b/src/wasm/wasm-binary.cpp index 54b9a5b..3b6bbbb 100644 --- a/src/wasm/wasm-binary.cpp +++ b/src/wasm/wasm-binary.cpp
@@ -1456,7 +1456,7 @@ 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')) {