diff --git a/common/dsnlexer.cpp b/common/dsnlexer.cpp index 99e5668299..6a8157b4fb 100644 --- a/common/dsnlexer.cpp +++ b/common/dsnlexer.cpp @@ -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 -} \ No newline at end of file +}