From a48364362625d9aa149bdeda1dd27345db2b817b Mon Sep 17 00:00:00 2001 From: Amos Bird Date: Sat, 22 Sep 2018 11:14:09 +0800 Subject: [PATCH] fix enum warning. --- src/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.cpp b/src/common.cpp index df3b68359..4b0d54436 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -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; }