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/atlasmanager.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/resources/atlasmanager.cpp') diff --git a/src/resources/atlasmanager.cpp b/src/resources/atlasmanager.cpp index 3b8f6a326..015ad0c93 100644 --- a/src/resources/atlasmanager.cpp +++ b/src/resources/atlasmanager.cpp @@ -125,7 +125,8 @@ void AtlasManager::loadImages(const StringVect &files, { image->mIdPath = str; #ifdef DEBUG_IMAGES - logger->log("set name %p, %s", image, image->mIdPath.c_str()); + logger->log("set name %p, %s", static_cast(image), + image->mIdPath.c_str()); #endif images.push_back(image); } @@ -274,7 +275,8 @@ void AtlasManager::convertAtlas(TextureAtlas *const atlas) image->mIdPath = atlas->name; #ifdef DEBUG_IMAGES - logger->log("set name %p, %s", image, image->mIdPath.c_str()); + logger->log("set name %p, %s", static_cast(image), + image->mIdPath.c_str()); #endif image->incRef(); @@ -291,7 +293,8 @@ void AtlasManager::convertAtlas(TextureAtlas *const atlas) { image2->mIdPath = item->name; #ifdef DEBUG_IMAGES - logger->log("set name %p, %s", image2, image2->mIdPath.c_str()); + logger->log("set name %p, %s", static_cast(image2), + image2->mIdPath.c_str()); #endif image2->incRef(); } -- cgit v1.2.3-70-g09d2