From: Hermès Bélusca-Maïto Date: Sat, 7 Jul 2018 16:56:40 +0000 (+0200) Subject: [KERNEL32] Use NULL for pointers. X-Git-Tag: 0.4.11-dev~311 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=c7022c1b0c9b8e991aed113464253fd78ae4ee48 [KERNEL32] Use NULL for pointers. --- diff --git a/dll/win32/kernel32/client/proc.c b/dll/win32/kernel32/client/proc.c index 649dcd4f410..551723e3b72 100644 --- a/dll/win32/kernel32/client/proc.c +++ b/dll/win32/kernel32/client/proc.c @@ -1395,9 +1395,9 @@ GetStartupInfoA(IN LPSTARTUPINFOA lpStartupInfo) if (StartupInfo) { /* Zero out string pointers in case we fail to create them */ - StartupInfo->lpReserved = 0; - StartupInfo->lpDesktop = 0; - StartupInfo->lpTitle = 0; + StartupInfo->lpReserved = NULL; + StartupInfo->lpDesktop = NULL; + StartupInfo->lpTitle = NULL; /* Set the size */ StartupInfo->cb = sizeof(*StartupInfo); @@ -2425,7 +2425,7 @@ CreateProcessInternalW(IN HANDLE hUserToken, DebuggerCmdLine = NULL; PathBuffer = NULL; SearchPath = NULL; - NullBuffer = 0; + NullBuffer = NULL; FreeBuffer = NULL; NameBuffer = NULL; CurrentDirectory = NULL;