mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Warning suppress
This commit is contained in:
parent
17ac309e84
commit
6fe5885fe4
@ -2784,7 +2784,7 @@ scan_number_done:
|
|||||||
std::string result;
|
std::string result;
|
||||||
for (auto c : s)
|
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
|
// ignore EOF
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user