Fix wchar_t cast

This commit is contained in:
Ian Ray
2013-05-23 21:11:10 +03:00
committed by ridiculousfish
parent c06b1694a2
commit 35610da204

View File

@@ -388,7 +388,7 @@ void input_destroy()
static wint_t input_exec_binding(const input_mapping_t &m, const wcstring &seq)
{
wchar_t code = input_function_get_code(m.command);
if (code != -1)
if (code != (wchar_t)-1)
{
switch (code)
{