From 7d84e4900fa8f4ef96e8cf4bb67b76be7902e840 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 4 Apr 2021 23:42:15 +0100 Subject: Fix a ton of pedantic compiler warnings. --- src/base.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/base.cpp') 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(this), refcount); } usecountbase::~usecountbase() { if (usecount && ServerInstance) ServerInstance->Logs.Log("CULLLIST", LOG_DEBUG, "usecountbase::~ @%p with refcount %d", - (void*)this, usecount); + static_cast(this), usecount); } void ServiceProvider::RegisterService() -- cgit v1.3.1-10-gc9f91