summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/messagein.cpp2
1 files changed, 1 insertions, 1 deletions
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