1
0
mirror of https://github.com/simh/simh.git synced 2026-05-02 22:22:48 +00:00

BESM6: Avoid clang compiler warnings

This commit is contained in:
Mark Pizzolato
2022-08-03 11:29:39 -10:00
parent 91b84c76d1
commit fe100b7c2b
2 changed files with 3 additions and 2 deletions

View File

@@ -541,7 +541,7 @@ void disk_format (UNIT *u)
log_data(fmtbuf, 5);
/* Печатаем идентификатор, адрес и контрольную сумму адреса. */
if (u->dptr->dctrl & DEB_TRC)
if (u->dptr->dctrl & DEB_TRC) {
if (IS_29MB(u))
besm6_debug ("::: формат МД %02o зона %04o память %05o skip %02o и-а-кса %010o %010o",
c->dev, c->zone, c->memory, ptr - memory -c ->memory,
@@ -552,6 +552,7 @@ void disk_format (UNIT *u)
c->dev, c->zone, c->track, c->memory, (uint32) (ptr - memory -c ->memory),
(int) (fmtbuf[0] >> 8 & BITS(30)),
(int) (fmtbuf[2] >> 14 & BITS(30)));
}
}
/*