summaryrefslogtreecommitdiff
path: root/src/net/manaserv/messagein.h
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-06-02 23:49:49 -0700
committerJared Adams <jaxad0127@gmail.com>2011-06-03 11:03:25 -0600
commit894038adf52a3e2b42542239a147d6c1cc1ad204 (patch)
treeb881994e4605bcf0ba2d1df68068a78fb21ecf01 /src/net/manaserv/messagein.h
parentd50f35d13e73b72eae1d744971657bd665aa1f33 (diff)
downloadmana-894038adf52a3e2b42542239a147d6c1cc1ad204.tar.gz
mana-894038adf52a3e2b42542239a147d6c1cc1ad204.tar.bz2
mana-894038adf52a3e2b42542239a147d6c1cc1ad204.tar.xz
mana-894038adf52a3e2b42542239a147d6c1cc1ad204.zip
Cleanup network code to use unsigned integers of the relevant size
Diffstat (limited to 'src/net/manaserv/messagein.h')
-rw-r--r--src/net/manaserv/messagein.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/manaserv/messagein.h b/src/net/manaserv/messagein.h
index 6d0a4035..ed6510eb 100644
--- a/src/net/manaserv/messagein.h
+++ b/src/net/manaserv/messagein.h
@@ -36,8 +36,8 @@ class MessageIn : public Net::MessageIn
public:
MessageIn(const char *data, unsigned int length);
- int readInt16(); /**< Reads a short. */
- int readInt32(); /**< Reads a long. */
+ Uint16 readInt16(); /**< Reads a short. */
+ Uint32 readInt32(); /**< Reads a "long". */
};
}