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

digitall dgturner at iee.org
Fri Nov 30 14:10:14 CET 2012


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:
e2948313f3 KYRA: Change loop variable to uint, rather than size_t.


Commit: e2948313f38eacde451b9cfddbb4208c63be6611
    https://github.com/scummvm/scummvm/commit/e2948313f38eacde451b9cfddbb4208c63be6611
Author: D G Turner (digitall at scummvm.org)
Date: 2012-11-30T05:08:52-08:00

Commit Message:
KYRA: Change loop variable to uint, rather than size_t.

Changed paths:
    engines/kyra/staticres.cpp



diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp
index 372e903..dc4f498 100644
--- a/engines/kyra/staticres.cpp
+++ b/engines/kyra/staticres.cpp
@@ -1514,7 +1514,7 @@ void KyraEngine_HoF::initInventoryButtonList() {
 		_inventoryButtons[i].buttonCallback = inventoryCallback;
 
 	_buttonList = &_inventoryButtons[0];
-	for (size_t i = 1; i < 15; ++i)
+	for (int i = 1; i < 15; ++i)
 		_buttonList = _gui->addButtonToList(_buttonList, &_inventoryButtons[i]);
 }
 






More information about the Scummvm-git-logs mailing list