[PATCH] libwine: Use NULL instead of casting 0.
2 Mar
2021
2 Mar
'21
7:18 p.m.
Signed-off-by: Francois Gouget <fgouget(a)free.fr> --- It's a matter of taste I guess, but it's what NULL is here for. 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 ) -- 2.20.1
1749
Age (days ago)
1749
Last active (days ago)
0 comments
1 participants
participants (1)
-
Francois Gouget