From 9f0dac00ecece9b1a1bacb05b2e7e1da31621626 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Thu, 14 Nov 2013 12:22:24 +0100 Subject: [PATCH] silenced a warning --- apps/openmw/mwgui/inventoryitemmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwgui/inventoryitemmodel.cpp b/apps/openmw/mwgui/inventoryitemmodel.cpp index 712e1b6c64..1263edd978 100644 --- a/apps/openmw/mwgui/inventoryitemmodel.cpp +++ b/apps/openmw/mwgui/inventoryitemmodel.cpp @@ -56,7 +56,7 @@ void InventoryItemModel::removeItem (const ItemStack& item, size_t count) if (removed == 0) throw std::runtime_error("Item to remove not found in container store"); - else if (removed < count) + else if (removed < static_cast (count)) throw std::runtime_error("Not enough items in the stack to remove"); }