summaryrefslogtreecommitdiff
path: root/src/resources/subimage.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-28 15:53:18 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-29 00:18:56 +0300
commitee1a05faf157c8c9f0f43cf5b906d84f39ded497 (patch)
treed560c7235c09e1117dc9172867c6acb0895edd64 /src/resources/subimage.cpp
parentafbf2f713dd918bd0ff050d71afbf05bc581ab6e (diff)
downloadmv-ee1a05faf157c8c9f0f43cf5b906d84f39ded497.tar.gz
mv-ee1a05faf157c8c9f0f43cf5b906d84f39ded497.tar.bz2
mv-ee1a05faf157c8c9f0f43cf5b906d84f39ded497.tar.xz
mv-ee1a05faf157c8c9f0f43cf5b906d84f39ded497.zip
fix compilation errors and warnings in debug checkers.
Diffstat (limited to 'src/resources/subimage.cpp')
-rw-r--r--src/resources/subimage.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/subimage.cpp b/src/resources/subimage.cpp
index 8a8fa2735..a13a885bb 100644
--- a/src/resources/subimage.cpp
+++ b/src/resources/subimage.cpp
@@ -105,7 +105,8 @@ SubImage::SubImage(Image *const parent, SDL_Surface *const image,
mAlphaChannel = mParent->SDLgetAlphaChannel();
mSource = parent->getIdPath();
#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
#ifdef DEBUG_BIND_TEXTURE
mIdPath = parent->getIdPath();
@@ -164,7 +165,8 @@ SubImage::SubImage(Image *const parent, const GLuint image,
mInternalBounds.h = mParent->mBounds.h;
mSource = parent->getIdPath();
#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
#ifdef DEBUG_BIND_TEXTURE
mIdPath = parent->getIdPath();