Wconversion: Change long to int64_t in cursor_shape.c, digraph.c.

Warnings were fixed in #1488.
This commit is contained in:
Florian Walch
2014-11-21 16:19:57 +01:00
parent dc75324997
commit ce5d6506ba
2 changed files with 2 additions and 2 deletions

View File

@@ -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;