diff options
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index fb0093b7a..7f4846fce 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -534,8 +534,8 @@ void ItemContainer::updateMatrix() std::string temp = mName; toLower(temp); - const int invSize = mInventory->getSize(); - for (unsigned idx = 0; idx < invSize; idx ++) + const unsigned int invSize = mInventory->getSize(); + for (unsigned int idx = 0; idx < invSize; idx ++) { Item *const item = mInventory->getItem(idx); |