summaryrefslogtreecommitdiff
path: root/src/if_cscope.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_cscope.c')
-rw-r--r--src/if_cscope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c
index 1b0a8cdad..b0c474ed5 100644
--- a/src/if_cscope.c
+++ b/src/if_cscope.c
@@ -994,7 +994,7 @@ err_closing:
vim_free(ppath);
#if defined(UNIX)
- if (execl("/bin/sh", "sh", "-c", cmd, NULL) == -1)
+ if (execl("/bin/sh", "sh", "-c", cmd, (char *)NULL) == -1)
PERROR(_("cs_create_connection exec failed"));
exit(127);