Skip to content

Commit b928752

Browse files
Update simplecpp.cpp
1 parent 4cc9e60 commit b928752

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simplecpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ class simplecpp::TokenList::Stream {
285285
// character is non-ASCII character then replace it with 0xff
286286
if (isUtf16) {
287287
(void)get();
288-
const int ch2 = static_cast<unsigned char>(peek());
288+
const auto ch2 = static_cast<unsigned char>(peek());
289289
unget();
290290
const int ch16 = makeUtf16Char(ch, ch2);
291291
ch = static_cast<unsigned char>(((ch16 >= 0x80) ? 0xff : ch16));

0 commit comments

Comments
 (0)