diff --git a/src/uci.cpp b/src/uci.cpp index 66a2ade3..a3b4d8c0 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -119,7 +119,7 @@ namespace { // 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::to_int_type(this->inputLine[this->currentIndex]))) this->currentIndex++; }