From c910148e2f4ca8f19ad38aac7bf4fd5813aab38a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 Sep 2015 22:33:00 +0300 Subject: Fix compilation warning. --- src/net/eathena/vendingrecv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/eathena') diff --git a/src/net/eathena/vendingrecv.cpp b/src/net/eathena/vendingrecv.cpp index ad4635078..146f2102e 100644 --- a/src/net/eathena/vendingrecv.cpp +++ b/src/net/eathena/vendingrecv.cpp @@ -101,7 +101,7 @@ void VendingRecv::processItemsList(Net::MessageIn &msg) cards[d] = msg.readInt16("card"); if (serverVersion >= 8 && packetVersion >= 20150226) { - for (int f = 0; f < 5; f ++) + for (int d = 0; d < 5; d ++) { msg.readInt16("rnd index"); msg.readInt16("rnd value"); @@ -144,7 +144,7 @@ void VendingRecv::processOpen(Net::MessageIn &msg) msg.readInt16("card"); if (serverVersion >= 8 && packetVersion >= 20150226) { - for (int f = 0; f < 5; f ++) + for (int d = 0; d < 5; d ++) { msg.readInt16("rnd index"); msg.readInt16("rnd value"); -- cgit v1.2.3-70-g09d2