From a9f6959a96395edc64ff57bf5ba1d75cca8e86c3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Feb 2016 21:19:59 +0300 Subject: Add missing const in net directory. --- src/net/eathena/playerrecv.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net/eathena/playerrecv.cpp') diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp index 928faf45b..af35c2248 100644 --- a/src/net/eathena/playerrecv.cpp +++ b/src/net/eathena/playerrecv.cpp @@ -391,11 +391,11 @@ void PlayerRecv::processOnlineList(Net::MessageIn &msg) while (buf - start + 1 < size && *(buf + CAST_SIZE(addVal))) { - unsigned char status = *buf; + const unsigned char status = *buf; buf ++; - unsigned char level = *buf; + const unsigned char level = *buf; buf ++; - unsigned char ver = *buf; + const unsigned char ver = *buf; buf ++; GenderT gender = Gender::UNSPECIFIED; -- cgit v1.2.3-60-g2f50