winspool.drv: Remove unneeded cast.

Francois Gouget fgouget at free.fr
Tue Feb 6 03:17:03 CST 2007


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

diff --git a/dlls/winspool.drv/tests/info.c b/dlls/winspool.drv/tests/info.c
index 7177fbe..5a8994e 100644
--- a/dlls/winspool.drv/tests/info.c
+++ b/dlls/winspool.drv/tests/info.c
@@ -1693,7 +1693,7 @@ static void test_XcvDataW_PortIsValid(void)
     pd.pDevMode  = NULL;
     pd.DesiredAccess = SERVER_ACCESS_ADMINISTER;
 
-    hXcv = (HANDLE) 0;
+    hXcv = NULL;
     SetLastError(0xdeadbeef);
     res = OpenPrinter(xcv_localport, &hXcv, &pd);
 
-- 
1.4.4.3




More information about the wine-patches mailing list