summaryrefslogtreecommitdiffstats
path: root/src/if_cscope.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-10-01 20:17:17 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-01 20:17:17 +0100
commit3292a229402c9892f5ab90645fbfe2b1db342f5b (patch)
tree96db3a52ceef4823435d4cec72b6132d94a01eda /src/if_cscope.c
parenta4e0b9785e409e9e660171cea76dfcc5fdafad9b (diff)
patch 9.0.0635: build error and compiler warningsv9.0.0635
Problem: Build error and compiler warnings. Solution: Add missing change. Add type casts.
Diffstat (limited to 'src/if_cscope.c')
-rw-r--r--src/if_cscope.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c
index ad29fb9f50..809475039c 100644
--- 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