diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-02-11 02:55:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-02-11 04:28:43 +0300 |
commit | 8be2905d29db5013bf8a2d9c5c7c7155af77ed49 (patch) | |
tree | 08bc3687934127a2c5d047d61db024b7403cf2ff /src/resources/image/subimage.cpp | |
parent | e27ab1c594b8ab927708a769c8ee3d58f51a89a3 (diff) | |
download | mv-8be2905d29db5013bf8a2d9c5c7c7155af77ed49.tar.gz mv-8be2905d29db5013bf8a2d9c5c7c7155af77ed49.tar.bz2 mv-8be2905d29db5013bf8a2d9c5c7c7155af77ed49.tar.xz mv-8be2905d29db5013bf8a2d9c5c7c7155af77ed49.zip |
Fix compilation with enabled debug images.
Diffstat (limited to 'src/resources/image/subimage.cpp')
-rw-r--r-- | src/resources/image/subimage.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/image/subimage.cpp b/src/resources/image/subimage.cpp index 19302792c..1f747ed43 100644 --- a/src/resources/image/subimage.cpp +++ b/src/resources/image/subimage.cpp @@ -48,7 +48,9 @@ SubImage::SubImage(Image *const parent, mAlphaChannel = mParent->SDLgetAlphaChannel(); mSource = parent->mIdPath; #ifdef DEBUG_IMAGES - logger->log("set name2 %p, %s", this, mSource.c_str()); + logger->log("set name2 %p, %s", + static_cast<void*>(this), + mSource.c_str()); #endif // DEBUG_IMAGES #ifdef DEBUG_BIND_TEXTURE mIdPath = parent->mIdPath; |