diff options
Diffstat (limited to 'src/resources/imagehelper.cpp')
-rw-r--r-- | src/resources/imagehelper.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/resources/imagehelper.cpp b/src/resources/imagehelper.cpp index f4e09b834..af573709b 100644 --- a/src/resources/imagehelper.cpp +++ b/src/resources/imagehelper.cpp @@ -176,15 +176,15 @@ void ImageHelper::dumpSurfaceFormat(const SDL_Surface *const image) logger->log("Alpha: %d", format->alpha); #endif logger->log("Loss: %02x, %02x, %02x, %02x", - static_cast<unsigned int>(format->Rloss), - static_cast<unsigned int>(format->Gloss), - static_cast<unsigned int>(format->Bloss), - static_cast<unsigned int>(format->Aloss)); + CAST_U32(format->Rloss), + CAST_U32(format->Gloss), + CAST_U32(format->Bloss), + CAST_U32(format->Aloss)); logger->log("Shift: %02x, %02x, %02x, %02x", - static_cast<unsigned int>(format->Rshift), - static_cast<unsigned int>(format->Gshift), - static_cast<unsigned int>(format->Bshift), - static_cast<unsigned int>(format->Ashift)); + CAST_U32(format->Rshift), + CAST_U32(format->Gshift), + CAST_U32(format->Bshift), + CAST_U32(format->Ashift)); logger->log("Mask: %08x, %08x, %08x, %08x", format->Rmask, format->Gmask, format->Bmask, format->Amask); } |