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

sev- sev at scummvm.org
Sat Jul 21 13:24:33 CEST 2018


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:
a8369132d6 MACVENTURE: Fix warning


Commit: a8369132d689c6256dfd0f1bc0e6ab6e4e4f336a
    https://github.com/scummvm/scummvm/commit/a8369132d689c6256dfd0f1bc0e6ab6e4e4f336a
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2018-07-21T13:24:17+02:00

Commit Message:
MACVENTURE: Fix warning

Changed paths:
    engines/macventure/macventure.cpp


diff --git a/engines/macventure/macventure.cpp b/engines/macventure/macventure.cpp
index ddc6d90..907349d 100644
--- a/engines/macventure/macventure.cpp
+++ b/engines/macventure/macventure.cpp
@@ -728,7 +728,7 @@ int MacVentureEngine::findObjectInArray(ObjID objID, const Common::Array<ObjID>
 		}
 	}
 	// HACK, should use iterator
-	return found ? i : -1;
+	return found ? (int)i : -1;
 }
 
 uint MacVentureEngine::getPrefixNdx(ObjID obj) {





More information about the Scummvm-git-logs mailing list