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 | |
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')
-rw-r--r-- | src/net/eathena/messagein.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/messagein.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/messagein.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/messagein.h | 2 |
4 files changed, 4 insertions, 4 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. */ }; } diff --git a/src/net/tmwa/messagein.cpp b/src/net/tmwa/messagein.cpp index 2b65a2a3a..0f251ee8c 100644 --- a/src/net/tmwa/messagein.cpp +++ b/src/net/tmwa/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/tmwa/messagein.h b/src/net/tmwa/messagein.h index 72ad06238..9b2c6015f 100644 --- a/src/net/tmwa/messagein.h +++ b/src/net/tmwa/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. */ }; } |