summaryrefslogtreecommitdiff
path: root/protocols/MinecraftDynmap/src/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MinecraftDynmap/src/utils.h')
-rw-r--r--protocols/MinecraftDynmap/src/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MinecraftDynmap/src/utils.h b/protocols/MinecraftDynmap/src/utils.h
index 1944ec41e0..fd9e0c7616 100644
--- a/protocols/MinecraftDynmap/src/utils.h
+++ b/protocols/MinecraftDynmap/src/utils.h
@@ -56,7 +56,7 @@ public:
void Unlock()
{
ReleaseMutex(handle_);
- handle_ = 0;
+ handle_ = nullptr;
}
private:
HANDLE handle_;