diff --git a/es-app/src/MediaViewer.cpp b/es-app/src/MediaViewer.cpp index 62846aff3..57a6058e2 100644 --- a/es-app/src/MediaViewer.cpp +++ b/es-app/src/MediaViewer.cpp @@ -170,7 +170,7 @@ void MediaViewer::findMedia() if (mHasVideo && (mediaFile = mGame->getScreenshotPath()) != "") { mImageFiles.push_back(mediaFile); - mScreenShotIndex = mImageFiles.size() - 1; + mScreenShotIndex = static_cast(mImageFiles.size() - 1); } if ((mediaFile = mGame->get3DBoxPath()) != "")