diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-12 00:28:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-12 00:28:44 +0300 |
commit | 401f805d56edb9bf470f6d16ea5c86b4864f741f (patch) | |
tree | 29fd36616e4f190c25e6ab342785c99c7ebe65b2 /src/net/eathena | |
parent | 8fa20d9e2aa173d4ed9632da7e707c69ce2841aa (diff) | |
download | plus-401f805d56edb9bf470f6d16ea5c86b4864f741f.tar.gz plus-401f805d56edb9bf470f6d16ea5c86b4864f741f.tar.bz2 plus-401f805d56edb9bf470f6d16ea5c86b4864f741f.tar.xz plus-401f805d56edb9bf470f6d16ea5c86b4864f741f.zip |
Replace int to int32_t in messagein class.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/messagein.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/messagein.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/messagein.cpp b/src/net/eathena/messagein.cpp index a5a71a535..137f50711 100644 --- a/src/net/eathena/messagein.cpp +++ b/src/net/eathena/messagein.cpp @@ -62,7 +62,7 @@ int16_t MessageIn::readInt16() return value; } -int MessageIn::readInt32() +int32_t MessageIn::readInt32() { int32_t value = -1; if (mPos + 4 <= mLength) diff --git a/src/net/eathena/messagein.h b/src/net/eathena/messagein.h index b38cd7d4e..f052bc79a 100644 --- a/src/net/eathena/messagein.h +++ b/src/net/eathena/messagein.h @@ -49,7 +49,7 @@ class MessageIn final : public Net::MessageIn A_DELETE_COPY(MessageIn) int16_t readInt16(); /**< Reads a short. */ - int readInt32(); /**< Reads a long. */ + int32_t readInt32(); /**< Reads a long. */ }; } |