From cda223ffc085ae1560de50b4a1f893720aa73dc6 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 25 Jul 2017 22:49:03 -0400 Subject: [PATCH] Added explicit signedness cast. --- Machines/Electron/Electron.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/Electron/Electron.cpp b/Machines/Electron/Electron.cpp index b036a553e..77531b576 100644 --- a/Machines/Electron/Electron.cpp +++ b/Machines/Electron/Electron.cpp @@ -339,7 +339,7 @@ Cycles Machine::perform_bus_operation(CPU::MOS6502::BusOperation operation, uint } } - return Cycles(cycles); + return Cycles((int)cycles); } void Machine::flush() {