1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 12:02:14 +00:00

DISPLAY: Fix warning about shifting negative value.

This commit is contained in:
Lars Brinkhoff
2020-04-14 07:40:15 +02:00
parent ee1c055abe
commit 35574f1365

View File

@@ -257,7 +257,7 @@ void delta (uint16 inst)
int delta = inst & 01777;
if (inst & 01000)
delta |= -1 << 10;
delta |= ~0u << 10;
switch (inst & 014000) {
case 000000: