[Scummvm-git-logs] scummvm master -> 6af847d967b7cd358c15d51fdb922322c2514bde
bluegr
noreply at scummvm.org
Tue May 27 08:18:31 UTC 2025
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
7483a80cd0 TINSEL: Fix MSVC warning
6af847d967 SCUMM: Fix MSVC warning
Commit: 7483a80cd013c93fe4a626e5eff8c4dbfe37c9fc
https://github.com/scummvm/scummvm/commit/7483a80cd013c93fe4a626e5eff8c4dbfe37c9fc
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2025-05-27T11:17:56+03:00
Commit Message:
TINSEL: Fix MSVC warning
Changed paths:
engines/tinsel/detection.cpp
diff --git a/engines/tinsel/detection.cpp b/engines/tinsel/detection.cpp
index d1053e5062b..fbe7c4c6b29 100644
--- a/engines/tinsel/detection.cpp
+++ b/engines/tinsel/detection.cpp
@@ -150,7 +150,7 @@ ADDetectedGame TinselMetaEngineDetection::fallbackDetect(const FileMap &allFiles
tmp.size = (int32)testFile.size();
tmp.md5 = computeStreamMD5AsString(testFile, _md5Bytes);
} else {
- tmp.size = -1;
+ tmp.size = AD_NO_SIZE;
}
filesSizeMD5[fname] = tmp;
Commit: 6af847d967b7cd358c15d51fdb922322c2514bde
https://github.com/scummvm/scummvm/commit/6af847d967b7cd358c15d51fdb922322c2514bde
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2025-05-27T11:18:15+03:00
Commit Message:
SCUMM: Fix MSVC warning
Changed paths:
engines/scumm/detection_internal.h
diff --git a/engines/scumm/detection_internal.h b/engines/scumm/detection_internal.h
index 04cc3b9807b..6c0c189d47c 100644
--- a/engines/scumm/detection_internal.h
+++ b/engines/scumm/detection_internal.h
@@ -526,7 +526,7 @@ static void detectGames(const Common::FSList &fslist, Common::List<DetectorResul
Common::String md5str;
if (tmp)
md5str = computeStreamMD5AsString(*tmp, kMD5FileSizeLimit);
- if (!md5str.empty()) {
+ if (tmp && !md5str.empty()) {
int64 filesize = tmp->size();
d.md5 = md5str;
More information about the Scummvm-git-logs
mailing list