From 401f805d56edb9bf470f6d16ea5c86b4864f741f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 12 Dec 2012 00:28:44 +0300 Subject: Replace int to int32_t in messagein class. --- src/net/tmwa/messagein.cpp | 2 +- src/net/tmwa/messagein.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa') 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. */ }; } -- cgit v1.2.3-70-g09d2