We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fac34f commit e0512e0Copy full SHA for e0512e0
test/unittest/readertest.cpp
@@ -1399,12 +1399,12 @@ class WIStreamWrapper {
1399
WIStreamWrapper(std::wistream& is) : is_(is) {}
1400
1401
Ch Peek() const {
1402
- int c = is_.peek();
+ unsigned c = is_.peek();
1403
return c == std::char_traits<wchar_t>::eof() ? Ch('\0') : static_cast<Ch>(c);
1404
}
1405
1406
Ch Take() {
1407
- int c = is_.get();
+ unsigned c = is_.get();
1408
1409
1410
0 commit comments