summaryrefslogtreecommitdiff
path: root/src/net/messageout.h
diff options
context:
space:
mode:
authorCedric Borgese <cedric.borgese@gmail.com>2005-09-27 13:31:15 +0000
committerCedric Borgese <cedric.borgese@gmail.com>2005-09-27 13:31:15 +0000
commit8225942307f8290e5941cdeaff5c7b212f978390 (patch)
treea60d0efb5eaeec89a002d8a58ee485de190e8615 /src/net/messageout.h
parentd56c142c43939657df13f3b7246defe8f181306e (diff)
downloadmana-client-8225942307f8290e5941cdeaff5c7b212f978390.tar.gz
mana-client-8225942307f8290e5941cdeaff5c7b212f978390.tar.bz2
mana-client-8225942307f8290e5941cdeaff5c7b212f978390.tar.xz
mana-client-8225942307f8290e5941cdeaff5c7b212f978390.zip
Dont crash if there is an unknown error at login.
Remove a bug that do x86_64 arch fail to connect to server : long is 8 bytes on that arch, use int for 4 bytes integer.
Diffstat (limited to 'src/net/messageout.h')
-rw-r--r--src/net/messageout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/messageout.h b/src/net/messageout.h
index 1e6d75ff..04a5ba91 100644
--- a/src/net/messageout.h
+++ b/src/net/messageout.h
@@ -50,7 +50,7 @@ class MessageOut
void writeByte(char value); /**< Writes a byte. */
void writeShort(short value); /**< Writes a short. */
- void writeLong(long value); /**< Writes a long. */
+ void writeLong(int value); /**< Writes a long. */
/**
* Writes a string. If a fixed length is not given (-1), it is stored