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