diff options
Diffstat (limited to 'src/net/messagein.cpp')
-rw-r--r-- | src/net/messagein.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/messagein.cpp b/src/net/messagein.cpp index 22d0510ce..b0abf9999 100644 --- a/src/net/messagein.cpp +++ b/src/net/messagein.cpp @@ -216,7 +216,7 @@ uint32_t MessageIn::readUInt32(const char *const str) int MessageIn::readItemId(const char *const str) { if (itemIdLen == 2) - return readUInt16(str); + return readInt16(str); return readInt32(str); } |