1
0
mirror of https://github.com/simh/simh.git synced 2026-03-05 18:59:08 +00:00

SCP: Silence odd clang warning for error test case

This commit is contained in:
Mark Pizzolato
2022-09-27 09:24:07 -10:00
parent 3ef47b31c1
commit b67c80b3b1

2
scp.c
View File

@@ -16465,7 +16465,7 @@ static struct validation_test {
REG reg[7];
t_stat expected_result;
} validations[] = {
{ { { BRDATAD (STRUCT, validate_units, 16, 8*sizeof(treg16), sizeof(validate_units)/sizeof(treg16), "an invalid array of scalars") },
{ { { BRDATAD (STRUCT, validate_units, 16, 8*sizeof(treg16), sizeof(validate_units)/2, "an invalid array of scalars") },
{NULL} },
SCPE_IERR},
{ { { SRDATAD (AMBIG, validate_units, pos, 10, 32, 0, 3, "a basic register array") },