--- hatari/tests/debugger/test-breakcond.c 2019/04/09 08:56:15 1.1.1.5 +++ hatari/tests/debugger/test-breakcond.c 2019/04/09 08:58:41 1.1.1.7 @@ -111,7 +111,7 @@ int main(int argc, const char *argv[]) char addr_pass[] = "pc + ($200*16/2 & 0xffff)"; const char *nonmatching_tests[] = { - "( $200 ) . b > 200", /* byte access to avoid endianess */ + "( $200 ) . b > 200", /* byte access to avoid endianness */ "pc < $50000 && pc > $60000", "pc > $50000 && pc < $54000", "d0 = a0", @@ -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"