--- hatari/tests/debugger/test-breakcond.c 2019/04/09 08:57:28 1.1.1.6 +++ hatari/tests/debugger/test-breakcond.c 2019/04/09 08:58:41 1.1.1.7 @@ -172,7 +172,7 @@ int main(int argc, const char *argv[]) /* set up registers etc */ /* fail indirect equality checks with zeroed regs */ - memset(STRam, 0, sizeof(STRam)); + memset(STRam, 0, STRamEnd); STMemory_WriteByte(0, 1); /* !match: "( $200 ) . b > 200" * match: "( $200 ) . b > ( 200 ) . b"