Fix a sign warning

This commit is contained in:
ridiculousfish 2013-04-03 18:27:18 -07:00
parent e23a60a6bb
commit db0659aab4

View file

@ -437,8 +437,8 @@ static int builtin_commandline(parser_t &parser, wchar_t **argv)
}
for (i=woptind; i<argc; i++)
{
wint_t c = input_function_get_code(argv[i]);
if (c != -1)
wchar_t c = input_function_get_code(argv[i]);
if (c != (wchar_t)(-1))
{
/*
input_unreadch inserts the specified keypress or