]> granicus.if.org Git - vim/commitdiff
patch 8.2.0374: using wrong printf directive for jump location v8.2.0374
authorBram Moolenaar <Bram@vim.org>
Thu, 12 Mar 2020 18:15:45 +0000 (19:15 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 12 Mar 2020 18:15:45 +0000 (19:15 +0100)
Problem:    Using wrong printf directive for jump location.
Solution:   Change "%lld" to "%d". (James McCoy, closes #5773)

src/version.c
src/vim9execute.c

index e55c26143ad1f66507a060d77f5f5b70643a0f2b..6f1b9e79364e79addff43f538e8f33dc2244e885 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    374,
 /**/
     373,
 /**/
index 2fcb948caef4b6800afcd96225749faf14664d0f..8c8bf88f39902077c79555a0fa6b8780bfedbed5 100644 (file)
@@ -1998,7 +1998,7 @@ ex_disassemble(exarg_T *eap)
                            when = "JUMP_AND_KEEP_IF_FALSE";
                            break;
                    }
-                   smsg("%4d %s -> %lld", current, when,
+                   smsg("%4d %s -> %d", current, when,
                                                iptr->isn_arg.jump.jump_where);
                }
                break;