diff --git a/ALTAIR/altair_sys.c b/ALTAIR/altair_sys.c index 5f898dfb..daab06bb 100644 --- a/ALTAIR/altair_sys.c +++ b/ALTAIR/altair_sys.c @@ -252,7 +252,7 @@ if ((sw & SWMASK ('C')) || ((*cptr == '"') && cptr++)) { /* ASCII string? */ or numeric (including spaces). */ -while (i < sizeof (gbuf) - 3) { +while (i < sizeof (gbuf) - 4) { if (*cptr == ',' || *cptr == '\0' || sim_isdigit(*cptr)) break;