From a1a3aab115bcfd0d7e900e4d3e40b8968dae6690 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 24 Jul 2017 22:40:15 -0400 Subject: [PATCH] Fixed implicit sign conversion. --- Components/6560/6560.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Components/6560/6560.hpp b/Components/6560/6560.hpp index 2793b981f..4b31c5ebe 100644 --- a/Components/6560/6560.hpp +++ b/Components/6560/6560.hpp @@ -154,7 +154,7 @@ template class MOS6560: public ClockReceiver> { int number_of_cycles = cycles.as_int(); // keep track of the amount of time since the speaker was updated; lazy updates are applied - cycles_since_speaker_update_ += number_of_cycles; + cycles_since_speaker_update_ += (unsigned int)number_of_cycles; while(number_of_cycles--) { // keep an old copy of the vertical count because that test is a cycle later than the actual changes