Mercurial > vim
changeset 30600:33a3f63785db v9.0.0635
patch 9.0.0635: build error and compiler warnings
Commit: https://github.com/vim/vim/commit/3292a229402c9892f5ab90645fbfe2b1db342f5b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 1 20:17:17 2022 +0100
patch 9.0.0635: build error and compiler warnings
Problem: Build error and compiler warnings.
Solution: Add missing change. Add type casts.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Oct 2022 21:30:05 +0200 |
parents | 972f4bebb11b |
children | 6194c0ba3526 |
files | src/if_cscope.c src/indent.c src/version.c |
diffstat | 3 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -961,12 +961,12 @@ err_closing: #endif if (csinfo[i].ppath != NULL) { - len = STRLEN(cmd); + len = (int)STRLEN(cmd); vim_snprintf(cmd + len, cmdlen - len, " -P%s", csinfo[i].ppath); } if (csinfo[i].flags != NULL) { - len = STRLEN(cmd); + len = (int)STRLEN(cmd); vim_snprintf(cmd + len, cmdlen - len, " %s", csinfo[i].flags); } # ifdef UNIX