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/atlasmanager.cpp | |
parent | afbf2f713dd918bd0ff050d71afbf05bc581ab6e (diff) | |
download | plus-ee1a05faf157c8c9f0f43cf5b906d84f39ded497.tar.gz plus-ee1a05faf157c8c9f0f43cf5b906d84f39ded497.tar.bz2 plus-ee1a05faf157c8c9f0f43cf5b906d84f39ded497.tar.xz plus-ee1a05faf157c8c9f0f43cf5b906d84f39ded497.zip |
fix compilation errors and warnings in debug checkers.
Diffstat (limited to 'src/resources/atlasmanager.cpp')
-rw-r--r-- | src/resources/atlasmanager.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
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<void*>(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<void*>(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<void*>(image2), + image2->mIdPath.c_str()); #endif image2->incRef(); } |