aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-10-07 19:36:01 +0200
committerGitHub <noreply@github.com>2018-10-07 19:36:01 +0200
commit512e0caae2e5ea507608588b645b723fc4b4f9c3 (patch)
tree8f36a6d3008dc5a1b4f71d1aa359886484a85cd4 /src/nvim/lua/executor.c
parentf95e0ae92644d3695e9207ecfe8f5bea17594459 (diff)
parent2c84421de2e36b0e7e8d406d491d57c1b599fd30 (diff)
downloadrneovim-512e0caae2e5ea507608588b645b723fc4b4f9c3.tar.gz
rneovim-512e0caae2e5ea507608588b645b723fc4b4f9c3.tar.bz2
rneovim-512e0caae2e5ea507608588b645b723fc4b4f9c3.zip
Merge #9036 'func_attr_printf'
Diffstat (limited to 'src/nvim/lua/executor.c')
-rw-r--r--src/nvim/lua/executor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c
index 02eabb9c89..a7bda9d037 100644
--- a/src/nvim/lua/executor.c
+++ b/src/nvim/lua/executor.c
@@ -291,7 +291,7 @@ static int nlua_print(lua_State *const lstate)
return 0;
nlua_print_error:
emsgf(_("E5114: Error while converting print argument #%i: %.*s"),
- curargidx, errmsg_len, errmsg);
+ curargidx, (int)errmsg_len, errmsg);
ga_clear(&msg_ga);
lua_pop(lstate, lua_gettop(lstate));
return 0;