[Scummvm-cvs-logs] scummvm master -> 38c63c4bc42b75700017aee9a445c036143eb3ce

eriktorbjorn eriktorbjorn at telia.com
Sat May 10 22:04:58 CEST 2014


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:
38c63c4bc4 FULLPIPE: Silence GCC warnings


Commit: 38c63c4bc42b75700017aee9a445c036143eb3ce
    https://github.com/scummvm/scummvm/commit/38c63c4bc42b75700017aee9a445c036143eb3ce
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2014-05-10T22:04:20+02:00

Commit Message:
FULLPIPE: Silence GCC warnings

Changed paths:
    engines/fullpipe/motion.cpp



diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index b97d980..96895ca 100644
--- a/engines/fullpipe/motion.cpp
+++ b/engines/fullpipe/motion.cpp
@@ -583,7 +583,7 @@ void MovGraph::freeItems() {
 	for (uint i = 0; i < _items.size(); i++) {
 		_items[i]->free();
 
-		for (int j = 0; j < _items[i]->movarr->size(); j++)
+		for (uint j = 0; j < _items[i]->movarr->size(); j++)
 			delete (*_items[i]->movarr)[j];
 
 		delete _items[i]->movarr;
@@ -946,7 +946,7 @@ Common::Array<Common::Rect *> *MovGraph::getBboxes(MovArr *movarr1, MovArr *mova
 
 	Common::Array<Common::Rect *> *res = new Common::Array<Common::Rect *>;
 
-	for (uint i = 0; i < *listCount; i++) {
+	for (int i = 0; i < *listCount; i++) {
 		Common::Rect *r = new Common::Rect;
 
 		calcBbox(r, tempObList2[i], movarr1, movarr2);
@@ -987,7 +987,7 @@ bool MovGraph::calcChunk(int idx, int x, int y, MovArr *arr, int a6) {
 	int idxmin = -1;
 	int offmin = 100;
 
-	for (uint i = 0; i < arrSize; i++) {
+	for (int i = 0; i < arrSize; i++) {
 		int off = _mgm.refreshOffsets(_items[idx]->ani->_id, staticsId, (*movarr)[i]->_link->_dwordArray2[_field_44]);
 
 		if (off < offmin) {






More information about the Scummvm-git-logs mailing list