DISPLAY: Fix warning about shifting negative value.
This commit is contained in:
parent
ee1c055abe
commit
35574f1365
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue