aboutsummaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index c3aebbc69e..0d6410f3a9 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -4451,7 +4451,7 @@ static void nv_ident(cmdarg_T *cap)
isman = (STRCMP(kp, "man") == 0);
isman_s = (STRCMP(kp, "man -s") == 0);
if (cap->count0 != 0 && !(isman || isman_s))
- sprintf((char *)buf, ".,.+%" PRId64, (int64_t)cap->count0 - 1);
+ sprintf((char *)buf, ".,.+%" PRId64, (int64_t)(cap->count0 - 1));
STRCAT(buf, "! ");
if (cap->count0 == 0 && isman_s)