diff --git a/es-app/src/MiximageGenerator.cpp b/es-app/src/MiximageGenerator.cpp index 7448e3b68..7b9304afb 100644 --- a/es-app/src/MiximageGenerator.cpp +++ b/es-app/src/MiximageGenerator.cpp @@ -37,7 +37,7 @@ void MiximageGenerator::startThread(std::promise* miximagePromise) { mMiximagePromise = miximagePromise; - LOG(LogDebug) << "MiximageGenerator::MiximageGenerator(): Creating image for \"" + LOG(LogDebug) << "MiximageGenerator::MiximageGenerator(): Creating miximage for \"" << mGame->getFileName() << "\""; if (mGame->getMiximagePath() != "" && !Settings::getInstance()->getBool("MiximageOverwrite")) { @@ -639,7 +639,8 @@ void MiximageGenerator::addDropShadow(CImg& image, unsigned int s shadowImage.get_shared_channels(0, 2).fill(0); // Lower the transparency and apply the blur. shadowImage.get_shared_channel(3) /= 0.6f; - shadowImage.blur_box(shadowDistance, shadowDistance, 1, true, 2); + shadowImage.blur_box(static_cast(shadowDistance), + static_cast(shadowDistance), 1, true, 2); shadowImage.blur(3, 0); // Add the mask to the alpha channel of the shadow image.