mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 19:36:40 +00:00
Wconversion: Change long to int64_t in cursor_shape.c, digraph.c.
Warnings were fixed in #1488.
This commit is contained in:
@@ -1611,7 +1611,7 @@ void putdigraph(char_u *str)
|
||||
EMSG(_(e_number_exp));
|
||||
return;
|
||||
}
|
||||
long digits = getdigits(&str);
|
||||
int64_t digits = getdigits(&str);
|
||||
assert(digits <= INT_MAX);
|
||||
int n = (int)digits;
|
||||
|
||||
|
Reference in New Issue
Block a user