mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-03 23:52:41 +00:00
AD: Slightly Cleaner Fix for Signed vs. Unsigned Comparison Compiler Warning
This commit is contained in:
parent
e9ad043a29
commit
4c3da7beed
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user