From ee1a05faf157c8c9f0f43cf5b906d84f39ded497 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 28 Aug 2013 15:53:18 +0300 Subject: fix compilation errors and warnings in debug checkers. --- src/resources/subimage.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/resources/subimage.cpp') 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(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(this), + mSource.c_str()); #endif #ifdef DEBUG_BIND_TEXTURE mIdPath = parent->getIdPath(); -- cgit v1.2.3-60-g2f50