From c44dfe1e8ab65317cc4468352084a75dc19067a4 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 4 Feb 2022 09:10:37 +0100 Subject: [PATCH] fixed bug with tape length less than "pause before end" seconds --- src/tape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tape.c b/src/tape.c index 0a63b795..a6ab9856 100644 --- a/src/tape.c +++ b/src/tape.c @@ -985,7 +985,7 @@ byte *TapePlayAction(void) if (tape.pause_before_end) // stop some seconds before end of tape { - if (TapeTime > tape.length_seconds - TAPE_PAUSE_SECONDS_BEFORE_DEATH) + if (TapeTime > (int)tape.length_seconds - TAPE_PAUSE_SECONDS_BEFORE_DEATH) { TapeStopWarpForward(); TapeTogglePause(TAPE_TOGGLE_MANUAL); -- 2.34.1