Commit 4ae77669 authored by Harald Scheirich's avatar Harald Scheirich
Browse files

Fix sign conversion warning

parent a78db6db
......@@ -77,9 +77,9 @@ inline bool CIEQUAL(std::string strA, std::string strB)
}
std::transform(strA.begin(), strA.end(), strA.begin(),
[](unsigned char c) { return std::tolower(c); });
[](std::string::value_type c) { return static_cast<std::string::value_type>(std::tolower(c)); });
std::transform(strB.begin(), strB.end(), strB.begin(),
[](unsigned char c) { return std::tolower(c); });
[](std::string::value_type c) { return static_cast<std::string::value_type>(std::tolower(c)); });
return strA == strB;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment