diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-06 22:26:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-06 22:26:04 +0300 |
commit | 89c3f9e88ab1a11959eacc18c6b4c9fb6e4a3dc9 (patch) | |
tree | 4b90faba86ccbb2d263ecf0ee8d59be82c446a04 /src/resources/resource.cpp | |
parent | eab637f57db36a104815217a432416d852d141a6 (diff) | |
download | mv-89c3f9e88ab1a11959eacc18c6b4c9fb6e4a3dc9.tar.gz mv-89c3f9e88ab1a11959eacc18c6b4c9fb6e4a3dc9.tar.bz2 mv-89c3f9e88ab1a11959eacc18c6b4c9fb6e4a3dc9.tar.xz mv-89c3f9e88ab1a11959eacc18c6b4c9fb6e4a3dc9.zip |
Fix compilation warnings if use debug images define.
Diffstat (limited to 'src/resources/resource.cpp')
-rw-r--r-- | src/resources/resource.cpp | 4 |
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) |