mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
signed/unsigned comparison warning.
This commit is contained in:
parent
fe0b640f85
commit
61f1f4a013
@ -61,7 +61,7 @@ namespace MWGui
|
||||
MWWorld::Ptr ItemModel::moveItem(const ItemStack& item, size_t count, ItemModel* otherModel, bool allowAutoEquip)
|
||||
{
|
||||
MWWorld::Ptr ret = MWWorld::Ptr();
|
||||
if (item.mBase.getRefData().getCount() <= count)
|
||||
if (static_cast<size_t>(item.mBase.getRefData().getCount()) <= count)
|
||||
{
|
||||
// We are moving the full stack
|
||||
ret = otherModel->addItem(item, count, allowAutoEquip);
|
||||
|
Loading…
x
Reference in New Issue
Block a user