diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sludge/hsi.cpp | 2 |
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; |