aboutsummaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index b56b9f8867..a726ca1a79 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -6112,7 +6112,8 @@ void ex_sign(exarg_T *eap)
cmd = alloc((unsigned)STRLEN(buf->b_fname) + 25);
if (cmd == NULL)
return;
- sprintf((char *)cmd, "e +%ld %s", (long)lnum, buf->b_fname);
+ sprintf((char *)cmd, "e +%" PRId64 " %s",
+ (int64_t)lnum, buf->b_fname);
do_cmdline_cmd(cmd);
vim_free(cmd);
}