aboutsummaryrefslogtreecommitdiff
path: root/sound/shorten.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound/shorten.cpp')
-rw-r--r--sound/shorten.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/shorten.cpp b/sound/shorten.cpp
index 64ca58f3ab..9e8e805214 100644
--- a/sound/shorten.cpp
+++ b/sound/shorten.cpp
@@ -432,7 +432,7 @@ byte *loadShortenFromStream(Common::ReadStream &stream, int &size, int &rate, by
}
break;
case kCmdBlockSize:
- blockSize = gReader->getUint32(log((double) blockSize / M_LN2));
+ blockSize = gReader->getUint32((uint32)log((double) blockSize / M_LN2));
break;
case kCmdBitShift:
bitShift = gReader->getURice(2);