# HG changeset patch # User Bram Moolenaar # Date 1642257003 -3600 # Node ID 0e88b48575ee6b694c8fa33806a0898cde600603 # Parent aa9e2004c15dc3b33a42e747b10691be60880a07 patch 8.2.4097: wrong number in error message on 32 bit system Commit: https://github.com/vim/vim/commit/f60a63485ea26d9bda1618d1b72662eca65b5f1f Author: Bram Moolenaar 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) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4097, +/**/ 4096, /**/ 4095, diff --git a/src/vim9compile.c b/src/vim9compile.c --- 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; } }