summaryrefslogtreecommitdiff
path: root/src/resources/image/image.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-11 02:55:31 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-11 04:28:43 +0300
commit8be2905d29db5013bf8a2d9c5c7c7155af77ed49 (patch)
tree08bc3687934127a2c5d047d61db024b7403cf2ff /src/resources/image/image.cpp
parente27ab1c594b8ab927708a769c8ee3d58f51a89a3 (diff)
downloadmanaverse-8be2905d29db5013bf8a2d9c5c7c7155af77ed49.tar.gz
manaverse-8be2905d29db5013bf8a2d9c5c7c7155af77ed49.tar.bz2
manaverse-8be2905d29db5013bf8a2d9c5c7c7155af77ed49.tar.xz
manaverse-8be2905d29db5013bf8a2d9c5c7c7155af77ed49.zip
Fix compilation with enabled debug images.
Diffstat (limited to 'src/resources/image/image.cpp')
-rw-r--r--src/resources/image/image.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/image/image.cpp b/src/resources/image/image.cpp
index 55a49a68d..92cdbee43 100644
--- a/src/resources/image/image.cpp
+++ b/src/resources/image/image.cpp
@@ -101,7 +101,8 @@ Image::Image(SDL_Texture *restrict const image,
mIsAlphaCalculated(false)
{
#ifdef DEBUG_IMAGES
- logger->log("created image: %p", this);
+ logger->log("created image: %p",
+ static_cast<void*>(this));
#endif // DEBUG_IMAGES
mBounds.x = 0;