1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-04 19:25:56 +01:00

Warning suppress

This commit is contained in:
Peter Boyle 2018-03-19 07:09:49 -04:00
parent 17ac309e84
commit 6fe5885fe4

View File

@ -2784,7 +2784,7 @@ scan_number_done:
std::string result;
for (auto c : s)
{
if (c == '\0' or c == std::char_traits<char>::eof())
if (c == '\0' or ((int)c) == std::char_traits<char>::eof())
{
// ignore EOF
continue;