Remove redundant casts

This commit is contained in:
Anton Ovchinnikov
2015-03-09 00:40:50 +01:00
parent c0a668aa26
commit 9925b3a047
26 changed files with 98 additions and 98 deletions

View File

@@ -772,7 +772,7 @@ err_closing:
#endif
/* expand the cscope exec for env var's */
prog = xmalloc(MAXPATHL + 1);
expand_env((char_u *)p_csprg, (char_u *)prog, MAXPATHL);
expand_env(p_csprg, (char_u *)prog, MAXPATHL);
/* alloc space to hold the cscope command */
len = (int)(strlen(prog) + strlen(csinfo[i].fname) + 32);