From 706755ad7fecf734d20ecfa4b43741a08e9988b9 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Thu, 20 Jul 2017 18:58:19 -0230 Subject: [PATCH] Fixed minor compile warning. --- src/emucore/TIASurface.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/emucore/TIASurface.cxx b/src/emucore/TIASurface.cxx index ed020e230..5c84874f0 100644 --- a/src/emucore/TIASurface.cxx +++ b/src/emucore/TIASurface.cxx @@ -267,7 +267,8 @@ void TIASurface::enableNTSC(bool enable) myFilter = Filter(enable ? uInt8(myFilter) | 0x10 : uInt8(myFilter) & 0x01); // Normal vs NTSC mode uses different source widths - myTiaSurface->setSrcSize(enable ? AtariNTSC::outWidth(kTIAW) : kTIAW, myTIA->height()); + myTiaSurface->setSrcSize(enable ? + AtariNTSC::outWidth(kTIAW) : uInt32(kTIAW), myTIA->height()); FBSurface::Attributes& tia_attr = myTiaSurface->attributes(); tia_attr.smoothing = myOSystem.settings().getBool("tia.inter");