From 10dc5d6d8bcd46e5682c4402b91b376b613cd656 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Sat, 28 Aug 2021 17:19:31 -0230 Subject: [PATCH] Fix minor compiler warning. --- src/emucore/CartBUS.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/emucore/CartBUS.cxx b/src/emucore/CartBUS.cxx index 469264ccf..76601ea11 100644 --- a/src/emucore/CartBUS.cxx +++ b/src/emucore/CartBUS.cxx @@ -71,7 +71,8 @@ CartridgeBUS::CartridgeBUS(const ByteBuffer& image, size_t size, 0x00000808, 0x40001FDC, devSettings ? settings.getBool("dev.thumb.trapfatal") : false, - devSettings ? settings.getFloat("dev.thumb.cyclefactor") : 1.0, + devSettings ? static_cast( + settings.getFloat("dev.thumb.cyclefactor")) : 1.0, Thumbulator::ConfigureFor::BUS, this);