Skip to content

Commit

Permalink
NULL->nullptr
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Dec 28, 2023
1 parent 37d2810 commit ebc0d28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/thread_freezer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void execute_while_frozen(
auto unlock_loader = (PFN_LdrUnlockLoaderLock)GetProcAddress(ntdll, "LdrUnlockLoaderLock");

if (lock_loader != nullptr && unlock_loader != nullptr) {
lock_loader(0, NULL, &loader_magic);
lock_loader(0, nullptr, &loader_magic);
}

do {
Expand Down Expand Up @@ -97,7 +97,7 @@ void execute_while_frozen(
// Lock it again.
if (lock_loader != nullptr && unlock_loader != nullptr) {
loader_magic = 0;
lock_loader(0, NULL, &loader_magic);
lock_loader(0, nullptr, &loader_magic);
}
}

Expand Down

0 comments on commit ebc0d28

Please sign in to comment.