mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-21 17:41:36 +00:00
signed/unsigned comparison warning.
This commit is contained in:
parent
fe0b640f85
commit
61f1f4a013
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ namespace MWGui
|
||||||
MWWorld::Ptr ItemModel::moveItem(const ItemStack& item, size_t count, ItemModel* otherModel, bool allowAutoEquip)
|
MWWorld::Ptr ItemModel::moveItem(const ItemStack& item, size_t count, ItemModel* otherModel, bool allowAutoEquip)
|
||||||
{
|
{
|
||||||
MWWorld::Ptr ret = MWWorld::Ptr();
|
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
|
// We are moving the full stack
|
||||||
ret = otherModel->addItem(item, count, allowAutoEquip);
|
ret = otherModel->addItem(item, count, allowAutoEquip);
|
||||||
|
|
Loading…
Reference in a new issue