libstdc++: Fix -Wsign-compare warning in <regex>
libstdc++-v3/ChangeLog: * include/bits/regex.tcc: Fix -Wsign-compare warning.
This commit is contained in:
parent
55ed7c4443
commit
ba1b6ed1c9
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ namespace __detail
|
|||
__num *= 10;
|
||||
__num += __traits.value(*__next++, 10);
|
||||
}
|
||||
if (0 <= __num && __num < this->size())
|
||||
if (0 <= __num && size_t(__num) < this->size())
|
||||
__output(__num);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue