summaryrefslogtreecommitdiff
path: root/src/resources/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/resource.cpp')
-rw-r--r--src/resources/resource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/resource.cpp b/src/resources/resource.cpp
index 391e0ce1b..d0845e3ce 100644
--- a/src/resources/resource.cpp
+++ b/src/resources/resource.cpp
@@ -37,7 +37,7 @@ void Resource::incRef()
#ifdef DEBUG_IMAGES
logger->log("before incRef for: %p", static_cast<void*>(this));
mRefCount++;
- logger->log("after incRef: %p, %d", static_cast<void*>(this), mRefCount);
+ logger->log("after incRef: %p, %u", static_cast<void*>(this), mRefCount);
#else
mRefCount++;
#endif
@@ -59,7 +59,7 @@ void Resource::decRef()
mRefCount--;
#ifdef DEBUG_IMAGES
- logger->log("after decRef: %p, %d", static_cast<void*>(this), mRefCount);
+ logger->log("after decRef: %p, %u", static_cast<void*>(this), mRefCount);
#endif
if (mRefCount == 0 && !mNotCount)