mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 13:37:27 +08:00
Fix a sign warning
This commit is contained in:
parent
e23a60a6bb
commit
db0659aab4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user