[Scummvm-git-logs] scummvm master -> 02069d0f9d6e78d4b4fe6d22e48c2dc37fbe5b9c
digitall
547637+digitall at users.noreply.github.com
Mon May 31 23:39:37 UTC 2021
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:
02069d0f9d TRECISION: Fix Signed vs. Unsigned GCC Compiler Warning
Commit: 02069d0f9d6e78d4b4fe6d22e48c2dc37fbe5b9c
https://github.com/scummvm/scummvm/commit/02069d0f9d6e78d4b4fe6d22e48c2dc37fbe5b9c
Author: D G Turner (digitall at scummvm.org)
Date: 2021-06-01T00:39:51+01:00
Commit Message:
TRECISION: Fix Signed vs. Unsigned GCC Compiler Warning
Changed paths:
engines/trecision/fastfile.cpp
diff --git a/engines/trecision/fastfile.cpp b/engines/trecision/fastfile.cpp
index 3526f8062c..9ebae40a54 100644
--- a/engines/trecision/fastfile.cpp
+++ b/engines/trecision/fastfile.cpp
@@ -98,7 +98,7 @@ Common::SeekableReadStream *FastFile::createReadStreamForMember(const Common::St
const FileEntry *entry = getEntry(name);
if (entry) {
uint32 size = (entry + 1)->offset - entry->offset;
- if (entry->offset + size < _stream->size()) {
+ if ((int32)(entry->offset + size) < _stream->size()) {
// Load data from fast file
stream = new Common::SeekableSubReadStream(_stream, entry->offset, entry->offset + size);
}
More information about the Scummvm-git-logs
mailing list