From 904ab7f6570a7f9836a7a11fa127b411c75e8923 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Sep 2014 14:12:38 +0300 Subject: Fix reading int64 from server. --- src/net/eathena/messagein.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/eathena') diff --git a/src/net/eathena/messagein.cpp b/src/net/eathena/messagein.cpp index db3eb1889..e24134a72 100644 --- a/src/net/eathena/messagein.cpp +++ b/src/net/eathena/messagein.cpp @@ -87,7 +87,7 @@ int32_t MessageIn::readInt32(const char *const str) int64_t MessageIn::readInt64(const char *const str) { - int32_t value = -1; + int64_t value = -1; if (mPos + 8 <= mLength) { #if SDL_BYTEORDER == SDL_BIG_ENDIAN -- cgit v1.2.3-70-g09d2