GRAPHICS: Whops. Fix misformatting introduced with 243de59.

This commit is contained in:
Johannes Schickel 2012-01-06 15:59:16 +01:00
parent d2a210feb5
commit e454788a23

View File

@ -655,7 +655,7 @@ int16 JPEG::readSignedBits(uint8 numBits) {
// Extend sign bits (PAG109)
if (!(ret >> (numBits - 1))) {
uint16 tmp = ((uint16) - 1 << numBits) + 1;
uint16 tmp = ((uint16)-1 << numBits) + 1;
ret = ret + tmp;
}
return ret;