[Scummvm-git-logs] scummvm master -> 4c3da7beed497fa87e0192aaaaf024435ac9f885
digitall
noreply at scummvm.org
Sun Jul 31 20:30:27 UTC 2022
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:
4c3da7beed AD: Slightly Cleaner Fix for Signed vs. Unsigned Comparison Compiler Warning
Commit: 4c3da7beed497fa87e0192aaaaf024435ac9f885
https://github.com/scummvm/scummvm/commit/4c3da7beed497fa87e0192aaaaf024435ac9f885
Author: D G Turner (digitall at scummvm.org)
Date: 2022-07-31T21:30:11+01:00
Commit Message:
AD: Slightly Cleaner Fix for Signed vs. Unsigned Comparison Compiler Warning
Changed paths:
engines/advancedDetector.cpp
diff --git a/engines/advancedDetector.cpp b/engines/advancedDetector.cpp
index b5e9d207e64..fd4349752ac 100644
--- a/engines/advancedDetector.cpp
+++ b/engines/advancedDetector.cpp
@@ -847,7 +847,7 @@ void AdvancedMetaEngineDetection::preprocessDescriptions() {
Common::StringTokenizer tok(fileDesc->fileName, "/");
- int depth = 0;
+ uint32 depth = 0;
while (!tok.empty()) {
Common::String component = tok.nextToken();
@@ -860,7 +860,7 @@ void AdvancedMetaEngineDetection::preprocessDescriptions() {
depth++;
}
- if (depth > int(_maxScanDepth)) {
+ if (depth > _maxScanDepth) {
_maxScanDepth = depth;
debugC(4, kDebugGlobalDetection, " Increased scan depth to %d", _maxScanDepth);
More information about the Scummvm-git-logs
mailing list