diff options
author | worktycho <work.tycho@gmail.com> | 2015-09-25 17:45:11 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2015-09-25 17:45:11 +0200 |
commit | 335374376bff16459eb3e3585a93f931e1b3c306 (patch) | |
tree | 3b6665c38ce5881b0d8345ee7bc495a5b97a0457 /src/Bindings/LuaState.cpp | |
parent | Merge pull request #2491 from cuberite/FixLilypadPopout (diff) | |
parent | Maked it compileable for clang-3.7 (diff) | |
download | cuberite-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/Bindings/LuaState.cpp')
-rw-r--r-- | src/Bindings/LuaState.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Bindings/LuaState.cpp b/src/Bindings/LuaState.cpp index 7b519a798..4c0dfa676 100644 --- a/src/Bindings/LuaState.cpp +++ b/src/Bindings/LuaState.cpp @@ -128,7 +128,7 @@ void cLuaState::Close(void) { LOGWARNING( "%s: Detected mis-use, calling Close() on an attached state (0x%p). Detaching instead.", - __FUNCTION__, m_LuaState + __FUNCTION__, static_cast<void *>(m_LuaState) ); Detach(); return; @@ -146,7 +146,7 @@ void cLuaState::Attach(lua_State * a_State) { if (m_LuaState != nullptr) { - LOGINFO("%s: Already contains a LuaState (0x%p), will be closed / detached.", __FUNCTION__, m_LuaState); + LOGINFO("%s: Already contains a LuaState (0x%p), will be closed / detached.", __FUNCTION__, static_cast<void *>(m_LuaState)); if (m_IsOwned) { Close(); @@ -174,7 +174,7 @@ void cLuaState::Detach(void) { LOGWARNING( "%s: Detected a mis-use, calling Detach() when the state is owned. Closing the owned state (0x%p).", - __FUNCTION__, m_LuaState + __FUNCTION__, static_cast<void *>(m_LuaState) ); Close(); return; |