aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/if_cscope.c
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2015-03-13 07:09:08 -0400
committerJohn Szakmeister <john@szakmeister.net>2015-03-13 07:09:08 -0400
commitc015eabe13bd37fb7d129da20904dd172b0bd3a1 (patch)
tree1b4a910ce85a78a265d2b2c708e3d47b7da08826 /src/nvim/if_cscope.c
parentb5bb6269b0f27c5192eaed6a069ba564c278760a (diff)
parent9925b3a0477e5af348a8348544e69a65a9222c1b (diff)
downloadrneovim-c015eabe13bd37fb7d129da20904dd172b0bd3a1.tar.gz
rneovim-c015eabe13bd37fb7d129da20904dd172b0bd3a1.tar.bz2
rneovim-c015eabe13bd37fb7d129da20904dd172b0bd3a1.zip
Merge pull request #2118 from rev112/fix_redundant_cast
Remove redundant casts
Diffstat (limited to 'src/nvim/if_cscope.c')
-rw-r--r--src/nvim/if_cscope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c
index 09f4ecf519..df61afa398 100644
--- a/src/nvim/if_cscope.c
+++ b/src/nvim/if_cscope.c
@@ -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);