mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 00:01:15 -03:00
Fix wchar_t cast
This commit is contained in:
@@ -388,7 +388,7 @@ void input_destroy()
|
|||||||
static wint_t input_exec_binding(const input_mapping_t &m, const wcstring &seq)
|
static wint_t input_exec_binding(const input_mapping_t &m, const wcstring &seq)
|
||||||
{
|
{
|
||||||
wchar_t code = input_function_get_code(m.command);
|
wchar_t code = input_function_get_code(m.command);
|
||||||
if (code != -1)
|
if (code != (wchar_t)-1)
|
||||||
{
|
{
|
||||||
switch (code)
|
switch (code)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user