aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2014-04-22 20:57:10 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-23 06:56:33 -0300
commit30b062e7d802aadc1b2ca478128e012a6c46da4a (patch)
tree5fd2eedad9cc7809ea8b9ad5f058ba3d4abface9 /src
parent357f54f33119e50142ecbced0e36907586af2a49 (diff)
downloadrneovim-30b062e7d802aadc1b2ca478128e012a6c46da4a.tar.gz
rneovim-30b062e7d802aadc1b2ca478128e012a6c46da4a.tar.bz2
rneovim-30b062e7d802aadc1b2ca478128e012a6c46da4a.zip
Use portable format specifiers: Case %lu - localized - EMSGN.
Fix uses of plain "%lu" within EMSGN(): - Replace "%lu" with "%" PRIu64. - No argument cast needed. EMSGN() will take care of that.
Diffstat (limited to 'src')
-rw-r--r--src/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memory.c b/src/memory.c
index 16e98dae2d..f2d24f70a1 100644
--- a/src/memory.c
+++ b/src/memory.c
@@ -197,7 +197,7 @@ void do_outofmem_msg(long_u size)
* message fails, e.g. when setting v:errmsg. */
did_outofmem_msg = TRUE;
- EMSGN(_("E342: Out of memory! (allocating %lu bytes)"), size);
+ EMSGN(_("E342: Out of memory! (allocating %" PRIu64 " bytes)"), size);
}
}