aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cursor_shape.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-11-27 21:02:30 -0500
committerJustin M. Keyes <justinkz@gmail.com>2014-11-27 21:02:30 -0500
commit68cee4c28d6c309e18ae35eeba9d5dffaf1078ca (patch)
tree3f129ff50c55b72fb182b45df4c44212a837171c /src/nvim/cursor_shape.c
parent5e4809f5a4ba4d3cc6a6cdea5f7ac632c73086ab (diff)
parentce5d6506ba0d8241dbee94aceb56ea53a6bd1ed9 (diff)
downloadrneovim-68cee4c28d6c309e18ae35eeba9d5dffaf1078ca.tar.gz
rneovim-68cee4c28d6c309e18ae35eeba9d5dffaf1078ca.tar.bz2
rneovim-68cee4c28d6c309e18ae35eeba9d5dffaf1078ca.zip
Merge pull request #1492 from fwalch/fix-wconversion
Fix some more -Wconversion warnings.
Diffstat (limited to 'src/nvim/cursor_shape.c')
-rw-r--r--src/nvim/cursor_shape.c2
1 files changed, 1 insertions, 1 deletions
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" */