diff options
| -rw-r--r-- | engines/fullpipe/input.cpp | 4 | ||||
| -rw-r--r-- | engines/fullpipe/motion.cpp | 6 | 
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/fullpipe/input.cpp b/engines/fullpipe/input.cpp index 3d6f53c7f3..8135eefde3 100644 --- a/engines/fullpipe/input.cpp +++ b/engines/fullpipe/input.cpp @@ -303,7 +303,7 @@ void FullpipeEngine::processArcade(ExCommand *cmd) {  	int idx;  	if (cmd->_sceneClickX <= g_fp->_aniMan2->_ox) { -		for (idx = _arcadeKeys.size() - 1; idx >= 0; idx--) { +		for (idx = (int)_arcadeKeys.size() - 1; idx >= 0; idx--) {  			if (_arcadeKeys[idx]->x < g_fp->_aniMan2->_ox)  				break;  		} @@ -311,7 +311,7 @@ void FullpipeEngine::processArcade(ExCommand *cmd) {  		if (idx < 0)  			return;  	} else { -		for (idx = 0; idx < _arcadeKeys.size(); idx++) { +		for (idx = 0; idx < (int)_arcadeKeys.size(); idx++) {  			if (_arcadeKeys[idx]->x > g_fp->_aniMan2->_ox)  				break;  		} diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp index d2eaf0674f..35da154570 100644 --- a/engines/fullpipe/motion.cpp +++ b/engines/fullpipe/motion.cpp @@ -1894,14 +1894,14 @@ MessageQueue *MGM::genMQ(StaticANIObject *ani, int staticsIndex, int staticsId,  		startidx = _items[idx]->subItems[subidx]->staticsIndex; -		int step; +		uint step;  		if (_items[idx]->subItems[subidx]->movement->_currMovement)  			step = _items[idx]->subItems[subidx]->movement->_currMovement->_dynamicPhases.size();  		else  			step = _items[idx]->subItems[subidx]->movement->_dynamicPhases.size(); -		i++; +		i += step;  	} while (startidx != endidx);  	return mq; @@ -2297,7 +2297,7 @@ int MGM::recalcOffsets(int idx, int st1idx, int st2idx, bool flip, bool flop) {  	Common::Point point; -	for (int i = 0; i < item->movements1.size(); i++) { +	for (uint i = 0; i < item->movements1.size(); i++) {  		Movement *mov = item->movements1[i];  		if (mov->_staticsObj1 == item->statics[st1idx]) {  | 
