[Scummvm-git-logs] scummvm master -> b58896b9a802c620325aeb4a704d1203fa78c4a5

sev- noreply at scummvm.org
Tue Feb 28 14:27:03 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
b58896b9a8 SHERLOCK: Fix compilation


Commit: b58896b9a802c620325aeb4a704d1203fa78c4a5
    https://github.com/scummvm/scummvm/commit/b58896b9a802c620325aeb4a704d1203fa78c4a5
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-02-28T15:26:42+01:00

Commit Message:
SHERLOCK: Fix compilation

Changed paths:
    engines/sherlock/image_file.cpp


diff --git a/engines/sherlock/image_file.cpp b/engines/sherlock/image_file.cpp
index 53d74eca710..7759826ad7d 100644
--- a/engines/sherlock/image_file.cpp
+++ b/engines/sherlock/image_file.cpp
@@ -107,12 +107,12 @@ void ImageFile::load(Common::SeekableReadStream &stream, bool skipPalette, bool
 		// the titles is unclear but skipping it seems to have no ill effect.
 		// Just skip it.
 		if (frame._width > 32768) {
-			frame._width = -(int16_t)frame._width;
+			frame._width = -(int16)frame._width;
 			invalid = true;
 		}
 
 		if (frame._height > 32768) {
-			frame._height = -(int16_t)frame._height;
+			frame._height = -(int16)frame._height;
 			invalid = true;
 		}
 




More information about the Scummvm-git-logs mailing list