From 1ae67bf2a9abf4f2405a3d16a3b8e2d4164d4c81 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 16 Nov 2015 22:46:36 -0500 Subject: LURE: Fix compiler warning --- engines/lure/res_struct.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/lure/res_struct.cpp b/engines/lure/res_struct.cpp index 73efc3a29a..ec1a546d05 100644 --- a/engines/lure/res_struct.cpp +++ b/engines/lure/res_struct.cpp @@ -1218,11 +1218,11 @@ void BarmanLists::loadFromStream(Common::ReadStream *stream) { void StringList::load(MemoryBlock *data) { // Get the number of entries - uint count = READ_LE_UINT16(data->data()); + uint numEntries = READ_LE_UINT16(data->data()); // Iterate through loading the strings one at a time const char *p = (const char *)data->data() + sizeof(uint16); - for (uint index = 0; index < count; ++index) { + for (uint index = 0; index < numEntries; ++index) { _entries.push_back(p); p += strlen(p) + 1; } -- cgit v1.2.3