Fixed minor compile warning.

This commit is contained in:
Stephen Anthony 2017-07-20 18:58:19 -02:30
parent 2cc2fa6cc1
commit 706755ad7f
1 changed files with 2 additions and 1 deletions

View File

@ -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");