diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-28 15:53:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-29 00:18:56 +0300 |
commit | ee1a05faf157c8c9f0f43cf5b906d84f39ded497 (patch) | |
tree | d560c7235c09e1117dc9172867c6acb0895edd64 /src/resources/subimage.cpp | |
parent | afbf2f713dd918bd0ff050d71afbf05bc581ab6e (diff) | |
download | manaverse-ee1a05faf157c8c9f0f43cf5b906d84f39ded497.tar.gz manaverse-ee1a05faf157c8c9f0f43cf5b906d84f39ded497.tar.bz2 manaverse-ee1a05faf157c8c9f0f43cf5b906d84f39ded497.tar.xz manaverse-ee1a05faf157c8c9f0f43cf5b906d84f39ded497.zip |
fix compilation errors and warnings in debug checkers.
Diffstat (limited to 'src/resources/subimage.cpp')
-rw-r--r-- | src/resources/subimage.cpp | 6 |
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(); |