Attempt to silence some warnings

This commit is contained in:
ridiculousfish
2014-04-27 17:23:19 -07:00
parent 36ef521c0e
commit 58ebdd4a7e
9 changed files with 18 additions and 13 deletions

View File

@@ -464,7 +464,7 @@ static wcstring full_escape(const wchar_t *in)
{
out.push_back(c);
}
else if (c <= ASCII_MAX)
else if (c <= (wchar_t)ASCII_MAX)
{
// See #1225 for discussion of use of ASCII_MAX here
append_format(out, L"\\x%.2x", c);