summaryrefslogtreecommitdiffstats
path: root/tests/Network
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-11-13 17:26:58 +0100
committerMattes D <github@xoft.cz>2016-11-13 17:26:58 +0100
commitd8254561277e42b10c13b51dda4325c6e0602807 (patch)
treed660e166d6ac681a1bc5b3bf3bbbf74e3c672c33 /tests/Network
parentMerge pull request #3430 from cuberite/Overrides (diff)
downloadcuberite-d8254561277e42b10c13b51dda4325c6e0602807.tar
cuberite-d8254561277e42b10c13b51dda4325c6e0602807.tar.gz
cuberite-d8254561277e42b10c13b51dda4325c6e0602807.tar.bz2
cuberite-d8254561277e42b10c13b51dda4325c6e0602807.tar.lz
cuberite-d8254561277e42b10c13b51dda4325c6e0602807.tar.xz
cuberite-d8254561277e42b10c13b51dda4325c6e0602807.tar.zst
cuberite-d8254561277e42b10c13b51dda4325c6e0602807.zip
Diffstat (limited to 'tests/Network')
-rw-r--r--tests/Network/EchoServer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Network/EchoServer.cpp b/tests/Network/EchoServer.cpp
index fb5b06110..ee356a995 100644
--- a/tests/Network/EchoServer.cpp
+++ b/tests/Network/EchoServer.cpp
@@ -30,7 +30,7 @@ class cEchoLinkCallbacks:
ASSERT(m_Link != nullptr);
// Echo the incoming data back to outgoing data:
- LOGD("%p (%s:%d): Data received (%u bytes), echoing back.", m_Link.get(), m_Link->GetRemoteIP().c_str(), m_Link->GetRemotePort(), static_cast<unsigned>(a_Size));
+ LOGD("%p (%s:%d): Data received (%u bytes), echoing back.", static_cast<void *>(m_Link.get()), m_Link->GetRemoteIP().c_str(), m_Link->GetRemotePort(), static_cast<unsigned>(a_Size));
m_Link->Send(a_Data, a_Size);
LOGD("Echo queued");
@@ -51,7 +51,7 @@ class cEchoLinkCallbacks:
{
ASSERT(m_Link != nullptr);
- LOGD("%p (%s:%d): Remote has closed the connection.", m_Link.get(), m_Link->GetRemoteIP().c_str(), m_Link->GetRemotePort());
+ LOGD("%p (%s:%d): Remote has closed the connection.", static_cast<void *>(m_Link.get()), m_Link->GetRemoteIP().c_str(), m_Link->GetRemotePort());
m_Link.reset();
}
@@ -60,7 +60,7 @@ class cEchoLinkCallbacks:
{
ASSERT(m_Link != nullptr);
- LOGD("%p (%s:%d): Error %d in the cEchoLinkCallbacks: %s", m_Link.get(), m_Link->GetRemoteIP().c_str(), m_Link->GetRemotePort(), a_ErrorCode, a_ErrorMsg.c_str());
+ LOGD("%p (%s:%d): Error %d in the cEchoLinkCallbacks: %s", static_cast<void *>(m_Link.get()), m_Link->GetRemoteIP().c_str(), m_Link->GetRemotePort(), a_ErrorCode, a_ErrorMsg.c_str());
m_Link.reset();
}