diff src/if_cscope.c @ 1878:6ed4a82fcfc6 v7.2.175

updated for version 7.2-175
author vimboss
date Sat, 16 May 2009 14:16:02 +0000
parents ff5a4a71a761
children e5602d92da8c
line wrap: on
line diff
--- 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);