From f56eb1b82ecf075c8974fa5f61373c5154d1ae5d Mon Sep 17 00:00:00 2001 From: redcode Date: Mon, 13 Nov 2023 07:29:00 +0100 Subject: [PATCH] `test-Z80` fix for `sizeof(size_t) < 64`. --- sources/test-Z80.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sources/test-Z80.c b/sources/test-Z80.c index 7c9feeca..d6b71820 100644 --- a/sources/test-Z80.c +++ b/sources/test-Z80.c @@ -629,6 +629,7 @@ static zuint8 run_test(int test_index) } RUN(&cpu, test->cycles_expected[0] + Z_UINT32(0x10000000) - j); + cycles += j; check_results: # else RUN(&cpu, test->cycles_expected[0] + Z_USIZE(0x10000000));