summaryrefslogtreecommitdiff
path: root/src/vim9compile.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-15 14:16:37 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-15 14:16:37 +0000
commitf60a63485ea26d9bda1618d1b72662eca65b5f1f (patch)
tree3f68d741e6946d7c5d784ab6d56ccaa16d2e5ef5 /src/vim9compile.c
parent1050476ead81a49be0289f40b2041c47a70c95ab (diff)
downloadvim-git-f60a63485ea26d9bda1618d1b72662eca65b5f1f.tar.gz
patch 8.2.4097: wrong number in error message on 32 bit systemv8.2.4097
Problem: Wrong number in error message on 32 bit system. (John Paul Adrian Glaubitz) Solution: Add type cast. (closes #9527)
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r--src/vim9compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c
index af11ba929..afc788543 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -2008,7 +2008,7 @@ compile_assignment(char_u *arg, exarg_T *eap, cmdidx_T cmdidx, cctx_T *cctx)
: isn->isn_arg.number != needed_list_len)
{
semsg(_(e_expected_nr_items_but_got_nr),
- needed_list_len, isn->isn_arg.number);
+ needed_list_len, (int)isn->isn_arg.number);
goto theend;
}
}