From b6461b913a44c2cdc02c1902496c665fbf18f329 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 16 May 2021 15:42:23 +0200 Subject: [PATCH] (Windows) Fixed an MSVC compiler warning in MediaPlayer. --- es-app/src/MediaViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) != "")