From 8225942307f8290e5941cdeaff5c7b212f978390 Mon Sep 17 00:00:00 2001 From: Cedric Borgese Date: Tue, 27 Sep 2005 13:31:15 +0000 Subject: 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. --- src/net/messageout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/messageout.h') 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 -- cgit v1.2.3-70-g09d2