[thirdparty-commits] seanbright: editline/trunk r164 -	/editline/trunk/vi.c
    SVN commits to the Digium third-party software repository 
    thirdparty-commits at lists.digium.com
       
    Sat Mar 20 12:29:55 CDT 2010
    
    
  
Author: seanbright
Date: Sat Mar 20 12:29:51 2010
New Revision: 164
URL: http://svnview.digium.com/svn/thirdparty?view=rev&rev=164
Log:
Fix sentinel warning on OpenBSD by casting NULL to a char *
Modified:
    editline/trunk/vi.c
Modified: editline/trunk/vi.c
URL: http://svnview.digium.com/svn/thirdparty/editline/trunk/vi.c?view=diff&rev=164&r1=163&r2=164
==============================================================================
--- editline/trunk/vi.c (original)
+++ editline/trunk/vi.c Sat Mar 20 12:29:51 2010
@@ -1026,7 +1026,7 @@
 		return CC_ERROR;
 	case 0:
 		close(fd);
-		execlp("vi", "vi", tempfile, NULL);
+		execlp("vi", "vi", tempfile, (char *) NULL);
 		exit(0);
 		/*NOTREACHED*/
 	default:
    
    
More information about the thirdparty-commits
mailing list