diff options
| author | 2021-04-04 23:42:15 +0100 | |
|---|---|---|
| committer | 2021-04-04 23:42:15 +0100 | |
| commit | 7d84e4900fa8f4ef96e8cf4bb67b76be7902e840 (patch) | |
| tree | f5a81d03f572392e7547d58f979fdd488de6ff0b /src/base.cpp | |
| parent | Remove the unused ExitCodes array. (diff) | |
Fix a ton of pedantic compiler warnings.
Diffstat (limited to 'src/base.cpp')
| -rw-r--r-- | src/base.cpp | 4 |
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() |
