Francois Gouget : winspool.drv: Remove unneeded casts of zero.

Alexandre Julliard julliard at winehq.org
Mon Dec 8 09:46:07 CST 2008


Module: wine
Branch: master
Commit: dc46cd042cae63f20d706814b1d3cb51ef65d9ee
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=dc46cd042cae63f20d706814b1d3cb51ef65d9ee

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Dec  8 09:23:24 2008 +0100

winspool.drv: Remove unneeded casts of zero.

---

 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);
     }
 




More information about the wine-cvs mailing list