aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/digraph.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/digraph.c')
-rw-r--r--src/nvim/digraph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/digraph.c b/src/nvim/digraph.c
index 440d07aab0..6587a43452 100644
--- a/src/nvim/digraph.c
+++ b/src/nvim/digraph.c
@@ -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;