To: vim_dev@googlegroups.com Subject: Patch 8.0.1679 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1679 Problem: Compiler warning for printf format. (Chdiza) Solution: Change type to "long long". (closes #2791) Files: src/ops.c *** ../vim-8.0.1678/src/ops.c 2018-04-08 13:07:18.746034774 +0200 --- src/ops.c 2018-04-08 16:32:47.724366896 +0200 *************** *** 7555,7561 **** bom_count = bomb_size(); if (bom_count > 0) vim_snprintf((char *)IObuff + STRLEN(IObuff), IOSIZE, ! _("(+%ld for BOM)"), bom_count); #endif if (dict == NULL) { --- 7555,7561 ---- bom_count = bomb_size(); if (bom_count > 0) vim_snprintf((char *)IObuff + STRLEN(IObuff), IOSIZE, ! _("(+%lld for BOM)"), (long long)bom_count); #endif if (dict == NULL) { *** ../vim-8.0.1678/src/version.c 2018-04-08 13:27:35.241518461 +0200 --- src/version.c 2018-04-08 16:34:06.823793546 +0200 *************** *** 764,765 **** --- 764,767 ---- { /* Add new patch number below this line */ + /**/ + 1679, /**/ -- hundred-and-one symptoms of being an internet addict: 133. You communicate with people on other continents more than you do with your own neighbors. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///