From 20d5e9013dec67afe4acd260bb28057b602cb626 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Mar 2015 21:35:39 +0300 Subject: Fix compilation warning. --- src/net/eathena/inventoryhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index dae6e9aba..5e1a7fd95 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -1000,7 +1000,7 @@ void InventoryHandler::processPlayerRepairList(Net::MessageIn &msg) { UNIMPLIMENTEDPACKET; - const int count = (msg.readInt16("len" - 4)) / 13; + const int count = (msg.readInt16("len") - 4) / 13; for (int f = 0; f < count; f ++) { msg.readInt16("index"); -- cgit v1.2.3-70-g09d2