[Scummvm-cvs-logs] scummvm master -> aa6ae7ac35988ac2219b436816455d7f62e558a8

sev- sev at scummvm.org
Sun Feb 14 17:52:22 CET 2016


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:
aa6ae7ac35 SCUMM: Fix warning


Commit: aa6ae7ac35988ac2219b436816455d7f62e558a8
    https://github.com/scummvm/scummvm/commit/aa6ae7ac35988ac2219b436816455d7f62e558a8
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-02-14T17:51:30+01:00

Commit Message:
SCUMM: Fix warning

Changed paths:
    engines/scumm/saveload.cpp



diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp
index e5673c1..f3df24f 100644
--- a/engines/scumm/saveload.cpp
+++ b/engines/scumm/saveload.cpp
@@ -1303,7 +1303,7 @@ void ScummEngine::saveOrLoad(Serializer *s) {
 
 	if (hasTownsData) {
 		// Skip FM-Towns specific data
-		for (int i = 69 * sizeof(uint8) + 44 * sizeof(int16); i; i--)
+		for (i = 69 * sizeof(uint8) + 44 * sizeof(int16); i; i--)
 			s->loadByte();
 	}
 






More information about the Scummvm-git-logs mailing list