From 1b6b2a96a06d84cd8c2c162101ee94b221552413 Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Fri, 19 Jul 2019 21:12:10 +0530 Subject: HDB: Fix warnings --- engines/hdb/ai-init.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp index 73987c7211..61cbafcd94 100644 --- a/engines/hdb/ai-init.cpp +++ b/engines/hdb/ai-init.cpp @@ -1691,7 +1691,7 @@ void AI::loadSaveFile(Common::InSaveFile *in) { // Load AnimTargets uint32 animTsize = in->readUint32LE(); _animTargets.clear(); - for (i = 0; i < animTsize; i++) { + for (uint32 j = 0; j < animTsize; j++) { AnimTarget *a = new AnimTarget; a->x = in->readUint16LE(); @@ -1725,7 +1725,7 @@ void AI::loadSaveFile(Common::InSaveFile *in) { // Load HereT List uint32 hereSize = in->readUint32LE(); _hereList->clear(); - for (i = 0; i < hereSize; i++) { + for (uint32 j = 0; j < hereSize; j++) { HereT *h = new HereT; h->x = in->readUint16LE(); h->y = in->readUint16LE(); -- cgit v1.2.3