diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-06-02 23:49:49 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2011-06-03 11:03:25 -0600 |
commit | 894038adf52a3e2b42542239a147d6c1cc1ad204 (patch) | |
tree | b881994e4605bcf0ba2d1df68068a78fb21ecf01 /src/net/manaserv/messagein.h | |
parent | d50f35d13e73b72eae1d744971657bd665aa1f33 (diff) | |
download | mana-client-894038adf52a3e2b42542239a147d6c1cc1ad204.tar.gz mana-client-894038adf52a3e2b42542239a147d6c1cc1ad204.tar.bz2 mana-client-894038adf52a3e2b42542239a147d6c1cc1ad204.tar.xz mana-client-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.h | 4 |
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". */ }; } |