mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 23:37:13 +00:00
DISPLAY: Fix warning about shifting negative value.
This commit is contained in:
parent
ee1c055abe
commit
35574f1365
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user