aboutsummaryrefslogtreecommitdiffstats
path: root/src/base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base.cpp')
-rw-r--r--src/base.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base.cpp b/src/base.cpp
index 86261d0f8..594498d24 100644
--- a/src/base.cpp
+++ b/src/base.cpp
@@ -52,14 +52,14 @@ refcountbase::~refcountbase()
{
if (refcount && ServerInstance)
ServerInstance->Logs.Log("CULLLIST", LOG_DEBUG, "refcountbase::~ @%p with refcount %d",
- (void*)this, refcount);
+ static_cast<void*>(this), refcount);
}
usecountbase::~usecountbase()
{
if (usecount && ServerInstance)
ServerInstance->Logs.Log("CULLLIST", LOG_DEBUG, "usecountbase::~ @%p with refcount %d",
- (void*)this, usecount);
+ static_cast<void*>(this), usecount);
}
void ServiceProvider::RegisterService()