diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-31 16:54:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-01 03:56:16 +0300 |
commit | 761682b6254a3d43e65ff45e07683c61afa6f1e4 (patch) | |
tree | 2ee462840f3aadb1e96bfa5c6784ec2cc0d2861a /src/resources/itemdb.cpp | |
parent | a39f63cdfa5ce15b22f294a8bb1db3a036ce462d (diff) | |
download | manaplus-761682b6254a3d43e65ff45e07683c61afa6f1e4.tar.gz manaplus-761682b6254a3d43e65ff45e07683c61afa6f1e4.tar.bz2 manaplus-761682b6254a3d43e65ff45e07683c61afa6f1e4.tar.xz manaplus-761682b6254a3d43e65ff45e07683c61afa6f1e4.zip |
Last part of fixes.
Diffstat (limited to 'src/resources/itemdb.cpp')
-rw-r--r-- | src/resources/itemdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp index 894ce7984..72d1aa9eb 100644 --- a/src/resources/itemdb.cpp +++ b/src/resources/itemdb.cpp @@ -298,7 +298,7 @@ void ItemDB::load() itemInfo->setColorsList(colors); std::string effect; - for (int i = 0; i < int(sizeof(fields) / sizeof(fields[0])); ++i) + for (size_t i = 0; i < sizeof(fields) / sizeof(fields[0]); ++ i) { int value = XML::getProperty(node, fields[i][0], 0); if (!value) |