diff options
Diffstat (limited to 'env_universal_common.cpp')
-rw-r--r-- | env_universal_common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/env_universal_common.cpp b/env_universal_common.cpp index 5194e8ff..eb0e15ae 100644 --- a/env_universal_common.cpp +++ b/env_universal_common.cpp @@ -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); |