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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user