File sentinel.diff of Package wvstreams

--- ./utils/wvcrash.cc.orig	2005-01-19 14:33:14.242433515 +0000
+++ ./utils/wvcrash.cc	2005-01-19 14:33:43.090377452 +0000
@@ -125,12 +125,12 @@
 	    dup2(fds[0], 0); // make stdin read from pipe
 	    fcntl(0, F_SETFD, 0);
 	    
-	    execlp("wvcrash", "wvcrash", NULL);
+	    execlp("wvcrash", "wvcrash", (char*) NULL);
 	    
 	    // if we get here, we couldn't exec wvcrash
 	    wr(2, "wvcrash: can't exec wvcrash binary "
 	       "- writing to wvcrash.txt!\n");
-	    execlp("dd", "dd", "of=wvcrash.txt", NULL);
+	    execlp("dd", "dd", "of=wvcrash.txt", (char*) NULL);
 	    
 	    wr(2, "wvcrash: can't exec dd to write to wvcrash.txt!\n");
 	    _exit(127);
openSUSE Build Service is sponsored by