Francois Gouget : libwine: Use NULL instead of casting 0.

Alexandre Julliard julliard at winehq.org
Tue Mar 2 15:35:59 CST 2021


Module: wine
Branch: master
Commit: 0fd41648e3c0546916be4ae4f4fb3d9768b5ee99
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0fd41648e3c0546916be4ae4f4fb3d9768b5ee99

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Mar  2 20:18:06 2021 +0100

libwine: Use NULL instead of casting 0.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 libs/wine/string.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/wine/string.c b/libs/wine/string.c
index d6fb88f8eca..16bb97bec8e 100644
--- a/libs/wine/string.c
+++ b/libs/wine/string.c
@@ -479,7 +479,7 @@ noconv:
 
 long int atolW( const WCHAR *str )
 {
-    return strtolW( str, (WCHAR **)0, 10 );
+    return strtolW( str, NULL, 10 );
 }
 
 int atoiW( const WCHAR *str )




More information about the wine-cvs mailing list