mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 23:37:13 +00:00
CARD: Clean up typo from Coverity fix.
This commit is contained in:
parent
721e2f42c5
commit
cc17f044f0
@ -791,7 +791,7 @@ _sim_parse_card(UNIT *uptr, DEVICE *dptr, struct _card_buffer *buf, uint16 (*ima
|
||||
for (col = i = 0; i < 160;) {
|
||||
temp |= (uint16)(buf->buffer[i] & 0xff);
|
||||
(*image)[col] = (buf->buffer[i++] >> 4) & 0xF;
|
||||
(*image)[col++] |= ((uint16)buf->buffer[i++] & 0xf) << 4;
|
||||
(*image)[col++] |= ((uint16)buf->buffer[i++] & 0xff) << 4;
|
||||
}
|
||||
/* Check if format error */
|
||||
if (temp & 0xF)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user