From ce5d6506ba0d8241dbee94aceb56ea53a6bd1ed9 Mon Sep 17 00:00:00 2001 From: Florian Walch Date: Fri, 21 Nov 2014 16:19:57 +0100 Subject: Wconversion: Change long to int64_t in cursor_shape.c, digraph.c. Warnings were fixed in #1488. --- src/nvim/cursor_shape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/cursor_shape.c') diff --git a/src/nvim/cursor_shape.c b/src/nvim/cursor_shape.c index 06c8186bf9..87064b4ef3 100644 --- a/src/nvim/cursor_shape.c +++ b/src/nvim/cursor_shape.c @@ -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" */ -- cgit