summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-09-25 17:45:11 +0200
committerworktycho <work.tycho@gmail.com>2015-09-25 17:45:11 +0200
commit335374376bff16459eb3e3585a93f931e1b3c306 (patch)
tree3b6665c38ce5881b0d8345ee7bc495a5b97a0457 /src/Entities
parentMerge pull request #2491 from cuberite/FixLilypadPopout (diff)
parentMaked it compileable for clang-3.7 (diff)
downloadcuberite-335374376bff16459eb3e3585a93f931e1b3c306.tar
cuberite-335374376bff16459eb3e3585a93f931e1b3c306.tar.gz
cuberite-335374376bff16459eb3e3585a93f931e1b3c306.tar.bz2
cuberite-335374376bff16459eb3e3585a93f931e1b3c306.tar.lz
cuberite-335374376bff16459eb3e3585a93f931e1b3c306.tar.xz
cuberite-335374376bff16459eb3e3585a93f931e1b3c306.tar.zst
cuberite-335374376bff16459eb3e3585a93f931e1b3c306.zip
Diffstat (limited to 'src/Entities')
-rw-r--r--src/Entities/Player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index 910ad4c0e..d35b92296 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -150,7 +150,7 @@ cPlayer::~cPlayer(void)
LOGINFO("Player %s has left the game", GetName().c_str());
}
- LOGD("Deleting cPlayer \"%s\" at %p, ID %d", GetName().c_str(), this, GetUniqueID());
+ LOGD("Deleting cPlayer \"%s\" at %p, ID %d", GetName().c_str(), static_cast<void *>(this), GetUniqueID());
// Notify the server that the player is being destroyed
cRoot::Get()->GetServer()->PlayerDestroying(this);
@@ -162,7 +162,7 @@ cPlayer::~cPlayer(void)
delete m_InventoryWindow;
m_InventoryWindow = nullptr;
- LOGD("Player %p deleted", this);
+ LOGD("Player %p deleted", static_cast<void *>(this));
}