From a3e458c6c5d1fc7cda0afcab74ff95f7a63b728a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Aug 2017 20:12:08 +0300 Subject: Add missing type casts. --- src/actions/actions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/actions') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 6c1025650..a8ad2a63f 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -1658,7 +1658,7 @@ impHandler(useItemInv) { Item *const item = getItemByInvIndex(param1, InventoryType::Inventory); - PlayerInfo::useEquipItem(item, param2, Sfx_true); + PlayerInfo::useEquipItem(item, CAST_S16(param2), Sfx_true); } else { -- cgit v1.2.3-70-g09d2