Skip to content

Commit 17f3d39

Browse files
jirutkakripken
authored andcommitted
Change char to auto to avoid type-limits warn on some arches (#1066)
Fixes #1059
1 parent 4f21c0f commit 17f3d39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wasm/wasm-binary.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1456,7 +1456,7 @@ static int32_t readBase64VLQ(std::istream& in) {
14561456
uint32_t value = 0;
14571457
uint32_t shift = 0;
14581458
while (1) {
1459-
char ch = in.get();
1459+
auto ch = in.get();
14601460
if (ch == EOF)
14611461
throw MapParseException("unexpected EOF in the middle of VLQ");
14621462
if ((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch < 'g')) {

0 commit comments

Comments
 (0)