diff options
Diffstat (limited to 'engines/sherlock/resources.cpp')
-rw-r--r-- | engines/sherlock/resources.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/resources.cpp b/engines/sherlock/resources.cpp index e499b698c1..878747a63c 100644 --- a/engines/sherlock/resources.cpp +++ b/engines/sherlock/resources.cpp @@ -354,7 +354,7 @@ void ImageFile::decompressFrame(ImageFrame &frame, const byte *src) { if (frame._paletteBase) { // Nibble-packed byte *pDest = (byte *)frame._frame.getPixels(); - for (int idx = 0; idx < frame._size; ++idx, ++src) { + for (uint idx = 0; idx < frame._size; ++idx, ++src) { *pDest++ = *src & 0xF; *pDest++ = (*src >> 4); } |