(Windows) Fixed an MSVC compiler warning in MediaPlayer.

This commit is contained in:
Leon Styhre 2021-05-16 15:42:23 +02:00
parent e07b9a7229
commit b6461b913a

View file

@ -170,7 +170,7 @@ void MediaViewer::findMedia()
if (mHasVideo && (mediaFile = mGame->getScreenshotPath()) != "") {
mImageFiles.push_back(mediaFile);
mScreenShotIndex = mImageFiles.size() - 1;
mScreenShotIndex = static_cast<int>(mImageFiles.size() - 1);
}
if ((mediaFile = mGame->get3DBoxPath()) != "")