AltairZ80: Better comparison operator to remove warning message

This commit is contained in:
Peter Schorn 2015-08-08 08:58:24 +02:00
parent bd2f592918
commit bb39ce97c7

View file

@ -2056,7 +2056,7 @@ void setClockFrequency(const uint32 Value) {
void pollForCPUStop(void) {
static uint32 pollCounter = INITIAL_POLL_COUNTER;
if (--pollCounter <= 0) {
if (--pollCounter == 0) {
pollCounter = INITIAL_POLL_COUNTER;
sim_poll_kbd(); /* the following sim_process_event will check for stop */
}