Commit a85e1aba authored by louiz’'s avatar louiz’

Fix a warning

parent 641166b0
......@@ -42,7 +42,7 @@ std::string xml_unescape(const std::string& data)
std::string res;
res.reserve(data.size());
const char* str = data.c_str();
while (str && *str && (str - data.c_str()) < data.size())
while (str && *str && static_cast<size_t>(str - data.c_str()) < data.size())
{
if (*str == '&')
{
......
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