ALL: Fix some signed/unsigned comparison warnings.

This commit is contained in:
Johannes Schickel 2012-02-22 20:20:55 +01:00
parent dac6ac66ad
commit 442bcb7d3e
4 changed files with 8 additions and 9 deletions

View file

@ -221,8 +221,8 @@ int AgiEngine::saveGame(const Common::String &fileName, const Common::String &de
// Save image stack
for (i = 0; i < _imageStack.size(); i++) {
ImageStackElement ise = _imageStack[i];
for (Common::Stack<ImageStackElement>::size_type j = 0; j < _imageStack.size(); ++j) {
const ImageStackElement &ise = _imageStack[j];
out->writeByte(ise.type);
out->writeSint16BE(ise.parm1);
out->writeSint16BE(ise.parm2);