aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authoryinsimei2017-06-05 20:01:30 +0200
committerEugene Sandulenko2017-07-13 18:27:45 +0200
commit4773aff468f3485991b3115722f0aec1226763ad (patch)
treeda282f0ee8ac83dd609188c7c42a4f896d07446b /engines
parentbee42dc52fb7fa2d73f95cf088fc26ced732a17c (diff)
downloadscummvm-rg350-4773aff468f3485991b3115722f0aec1226763ad.tar.gz
scummvm-rg350-4773aff468f3485991b3115722f0aec1226763ad.tar.bz2
scummvm-rg350-4773aff468f3485991b3115722f0aec1226763ad.zip
SLUDGE: correct int type
Diffstat (limited to 'engines')
-rw-r--r--engines/sludge/hsi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sludge/hsi.cpp b/engines/sludge/hsi.cpp
index 2ce87d8fda..22da4b4598 100644
--- a/engines/sludge/hsi.cpp
+++ b/engines/sludge/hsi.cpp
@@ -60,7 +60,7 @@ bool HSIDecoder::loadStream(Common::SeekableReadStream &stream) {
for (uint16 y = 0; y < height; y++) {
uint16 x = 0;
while (x < width) {
- unsigned short c = (unsigned short)stream.readUint16BE();
+ uint16 c = stream.readUint16BE();
if (c & 32) {
n = stream.readByte() + 1;
c -= 32;