mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 04:13:08 +00:00
Fix a sign warning
This commit is contained in:
parent
e23a60a6bb
commit
db0659aab4
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue