winspool.drv: Remove unneeded casts of zero.

Francois Gouget fgouget at free.fr
Mon Dec 8 02:23:24 CST 2008


---
 dlls/winspool.drv/info.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c
index 052ecc1..0343a9b 100644
--- a/dlls/winspool.drv/info.c
+++ b/dlls/winspool.drv/info.c
@@ -7764,7 +7764,7 @@ static BOOL schedule_pipe(LPCWSTR cmd, LPCWSTR filename)
         signal(SIGPIPE, SIG_DFL);
         signal(SIGCHLD, SIG_DFL);
 
-        execl("/bin/sh", "/bin/sh", "-c", cmdA, (char*)0);
+        execl("/bin/sh", "/bin/sh", "-c", cmdA, NULL);
         _exit(1);
     }
 
-- 
1.5.6.5




More information about the wine-patches mailing list