aboutsummaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2014-04-20 15:20:22 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-23 06:56:33 -0300
commitb8f3ff2a694f49b027b23d6afe218a6f2cb254c0 (patch)
treebf8ee0283dfc475dcb37fe20ee7c3e816ec2f8e7 /src/ex_cmds.c
parentbf3b9d0ecbb16fc998c1c9656fd2ec235708ec55 (diff)
downloadrneovim-b8f3ff2a694f49b027b23d6afe218a6f2cb254c0.tar.gz
rneovim-b8f3ff2a694f49b027b23d6afe218a6f2cb254c0.tar.bz2
rneovim-b8f3ff2a694f49b027b23d6afe218a6f2cb254c0.zip
Use portable format specifiers: Case %ld - localized - EMSGN.
Fix uses of localized "%ld" within EMSGN(): - Replace "%ld" with "%" PRId64. - No argument cast needed. EMSGN() will take care of that.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 625e7dca31..e2ea0a9625 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -2460,7 +2460,7 @@ void do_wqall(exarg_T *eap)
break;
}
if (buf->b_ffname == NULL) {
- EMSGN(_("E141: No file name for buffer %ld"), (long)buf->b_fnum);
+ EMSGN(_("E141: No file name for buffer %" PRId64), buf->b_fnum);
++error;
} else if (check_readonly(&eap->forceit, buf)
|| check_overwrite(eap, buf, buf->b_fname, buf->b_ffname,
@@ -6123,7 +6123,7 @@ void ex_sign(exarg_T *eap)
foldOpenCursor();
}
else
- EMSGN(_("E157: Invalid sign ID: %ld"), id);
+ EMSGN(_("E157: Invalid sign ID: %" PRId64), id);
}
else if (idx == SIGNCMD_UNPLACE)
{