diff src/vim9compile.c @ 27136:0e88b48575ee v8.2.4097

patch 8.2.4097: wrong number in error message on 32 bit system Commit: https://github.com/vim/vim/commit/f60a63485ea26d9bda1618d1b72662eca65b5f1f Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 15 14:16:37 2022 +0000 patch 8.2.4097: wrong number in error message on 32 bit system Problem: Wrong number in error message on 32 bit system. (John Paul Adrian Glaubitz) Solution: Add type cast. (closes #9527)
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Jan 2022 15:30:03 +0100
parents 98a01021e465
children 6ed31017c303
line wrap: on
line diff
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -2008,7 +2008,7 @@ compile_assignment(char_u *arg, exarg_T 
 			    : 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;
 		    }
 		}