diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-04-08 16:34:22 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-04-08 16:34:22 +0200 |
commit | 672afb9f66c64e031a2b609bdee0cb873883c9ec (patch) | |
tree | e5992bda2936fa3f3fb5c85fc4a9b2d8ea86c24c /src/ops.c | |
parent | e333e79f9bdff82432e0fd7fcf7ae30ef8e3d092 (diff) | |
download | vim-git-672afb9f66c64e031a2b609bdee0cb873883c9ec.tar.gz |
patch 8.0.1679: compiler warning for printf formatv8.0.1679
Problem: Compiler warning for printf format. (Chdiza)
Solution: Change type to "long long". (closes #2791)
Diffstat (limited to 'src/ops.c')
-rw-r--r-- | src/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7555,7 +7555,7 @@ cursor_pos_info(dict_T *dict) bom_count = bomb_size(); if (bom_count > 0) vim_snprintf((char *)IObuff + STRLEN(IObuff), IOSIZE, - _("(+%ld for BOM)"), bom_count); + _("(+%lld for BOM)"), (long long)bom_count); #endif if (dict == NULL) { |