aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2015-11-16 22:46:36 -0500
committerPaul Gilbert2015-11-16 22:46:36 -0500
commit1ae67bf2a9abf4f2405a3d16a3b8e2d4164d4c81 (patch)
treeb04f124b64e83c63048c84d1b5ad19588cc42ec3 /engines
parentf96a108503844e66b3072447fe46eace8f54df16 (diff)
downloadscummvm-rg350-1ae67bf2a9abf4f2405a3d16a3b8e2d4164d4c81.tar.gz
scummvm-rg350-1ae67bf2a9abf4f2405a3d16a3b8e2d4164d4c81.tar.bz2
scummvm-rg350-1ae67bf2a9abf4f2405a3d16a3b8e2d4164d4c81.zip
LURE: Fix compiler warning
Diffstat (limited to 'engines')
-rw-r--r--engines/lure/res_struct.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}