Fixed assertion failure in VS debug mode

This commit is contained in:
PKEuS 2014-04-27 13:27:39 +02:00
parent a25cb53c19
commit 71264fb672
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ static std::string fixInvalidChars(const std::string& raw)
result.reserve(raw.length());
std::string::const_iterator from=raw.begin();
while (from!=raw.end()) {
if (std::isprint(*from)) {
if (std::isprint(static_cast<unsigned char>(*from))) {
result.push_back(*from);
} else {
std::ostringstream es;