comparison src/ops.c @ 13614:87e5629fc915 v8.0.1679

patch 8.0.1679: compiler warning for printf format commit https://github.com/vim/vim/commit/672afb9f66c64e031a2b609bdee0cb873883c9ec Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 8 16:34:22 2018 +0200 patch 8.0.1679: compiler warning for printf format Problem: Compiler warning for printf format. (Chdiza) Solution: Change type to "long long". (closes https://github.com/vim/vim/issues/2791)
author Christian Brabandt <cb@256bit.org>
date Sun, 08 Apr 2018 16:45:07 +0200
parents e76499e85744
children 4faf77b96432
comparison
equal deleted inserted replaced
13613:90511e74baf5 13614:87e5629fc915
7553 7553
7554 #ifdef FEAT_MBYTE 7554 #ifdef FEAT_MBYTE
7555 bom_count = bomb_size(); 7555 bom_count = bomb_size();
7556 if (bom_count > 0) 7556 if (bom_count > 0)
7557 vim_snprintf((char *)IObuff + STRLEN(IObuff), IOSIZE, 7557 vim_snprintf((char *)IObuff + STRLEN(IObuff), IOSIZE,
7558 _("(+%ld for BOM)"), bom_count); 7558 _("(+%lld for BOM)"), (long long)bom_count);
7559 #endif 7559 #endif
7560 if (dict == NULL) 7560 if (dict == NULL)
7561 { 7561 {
7562 /* Don't shorten this message, the user asked for it. */ 7562 /* Don't shorten this message, the user asked for it. */
7563 p = p_shm; 7563 p = p_shm;