fix enum warning.

This commit is contained in:
Amos Bird 2018-09-22 11:14:09 +08:00 committed by Fabian Homborg
parent b4a6daef11
commit a483643626

View file

@ -1436,7 +1436,7 @@ static bool unescape_string_internal(const wchar_t *const input, const size_t in
case L'\t':
case L' ': {
if (unescape_special && brace_count > 0) {
to_append_or_none = brace_text_start ? BRACE_SPACE : NOT_A_WCHAR;
to_append_or_none = brace_text_start ? wint_t(BRACE_SPACE) : NOT_A_WCHAR;
}
break;
}