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: