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

@@ -135,7 +135,7 @@ char_u *parse_shape_opt(int what)
p += len;
if (!VIM_ISDIGIT(*p))
return (char_u *)N_("E548: digit expected");
long digits = getdigits(&p);
int64_t digits = getdigits(&p);
assert(digits <= INT_MAX);
int n = (int)digits;
if (len == 3) { /* "ver" or "hor" */