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