summaryrefslogtreecommitdiff
path: root/src/resources/image/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/image/image.cpp')
-rw-r--r--src/resources/image/image.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/image/image.cpp b/src/resources/image/image.cpp
index 55a49a68d..92cdbee43 100644
--- a/src/resources/image/image.cpp
+++ b/src/resources/image/image.cpp
@@ -101,7 +101,8 @@ Image::Image(SDL_Texture *restrict const image,
mIsAlphaCalculated(false)
{
#ifdef DEBUG_IMAGES
- logger->log("created image: %p", this);
+ logger->log("created image: %p",
+ static_cast<void*>(this));
#endif // DEBUG_IMAGES
mBounds.x = 0;