Replace all occurrences of NULL with NULLPTR for unified C and C++ null pointer handling

This commit is contained in:
2025-09-16 15:59:56 +02:00
parent ba9e5b1b88
commit fabf3a3a5e
46 changed files with 294 additions and 288 deletions

View File

@@ -98,7 +98,7 @@ BpPlayTune(IN PWCHAR Arguments)
Argument = RtlTokenizeWideString(Arguments, L" ", &LastArgument);
/* Iterate over all arguments */
while(Argument != NULL)
while(Argument != NULLPTR)
{
/* Check if tempo, pitch and duration are set */
if(Tempo < 0)
@@ -137,7 +137,7 @@ BpPlayTune(IN PWCHAR Arguments)
}
/* Get next argument */
Argument = RtlTokenizeWideString(NULL, L" ", &LastArgument);
Argument = RtlTokenizeWideString(NULLPTR, L" ", &LastArgument);
}
/* Stop emitting beep tone */