summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bb751d6)
Use proper standard conversion to deal
with negative values of a char.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
// characters from the current location in an input string.
void UCIInputParser::skip_whitespace() {
// characters from the current location in an input string.
void UCIInputParser::skip_whitespace() {
- while(isspace((int)(unsigned char)this->inputLine[this->currentIndex]))
+ while(isspace(std::char_traits<char>::to_int_type(this->inputLine[this->currentIndex])))