mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-04 19:25:56 +01:00
Warning suppress
This commit is contained in:
parent
17ac309e84
commit
6fe5885fe4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user