diff options
author | Paul Gilbert | 2011-04-28 21:02:35 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-04-28 21:02:35 +1000 |
commit | 4924c12b854d84aca57f1d0921ba1d2cc4abbb67 (patch) | |
tree | babfc707699629627b448086dbd558d9fe37df13 /engines | |
parent | 13efaff2ad15e6cef488d14a274a1d7b679e3adf (diff) | |
download | scummvm-rg350-4924c12b854d84aca57f1d0921ba1d2cc4abbb67.tar.gz scummvm-rg350-4924c12b854d84aca57f1d0921ba1d2cc4abbb67.tar.bz2 scummvm-rg350-4924c12b854d84aca57f1d0921ba1d2cc4abbb67.zip |
TINSEL: Fixed code analysis warnings in bug #3087863
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tinsel/adpcm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tinsel/adpcm.cpp b/engines/tinsel/adpcm.cpp index ec51d150dc..9f951e806a 100644 --- a/engines/tinsel/adpcm.cpp +++ b/engines/tinsel/adpcm.cpp @@ -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]; |