mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 20:59:00 +00:00
TINSEL: Fixed code analysis warnings in bug #3087863
This commit is contained in:
parent
13efaff2ad
commit
4924c12b85
@ -44,14 +44,14 @@ void Tinsel_ADPCMStream::readBufferTinselHeader() {
|
||||
// Negate
|
||||
start = ~(start | 0xC0) + 1;
|
||||
|
||||
_status.predictor = 1 << start;
|
||||
_status.predictor = (unsigned long long int)1 << start;
|
||||
} else {
|
||||
// Lower 6 bit are positive
|
||||
|
||||
// Truncate
|
||||
start &= 0x1F;
|
||||
|
||||
_status.predictor = ((double) 1.0) / (1 << start);
|
||||
_status.predictor = ((double) 1.0) / ((unsigned long long int)1 << start);
|
||||
}
|
||||
|
||||
_status.K0 = TinselFilterTable[filterVal][0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user