mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 20:33:44 +00:00
Suppress signedness warning
This commit is contained in:
parent
c95bd3fc89
commit
bd4c2df3ba
@ -859,7 +859,7 @@ double DSNLEXER::parseDouble()
|
||||
const std::string& str = CurStr();
|
||||
|
||||
// Offset any leading whitespace, this is one thing from_chars does not handle
|
||||
int woff = 0;
|
||||
size_t woff = 0;
|
||||
while( std::isspace( str[woff] ) && woff < str.length() )
|
||||
{
|
||||
woff++;
|
||||
@ -877,4 +877,4 @@ double DSNLEXER::parseDouble()
|
||||
|
||||
return dval;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user