From 6c186ff02a3c57e77ba98fa46afe539aed96accb Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 7 Oct 2012 08:29:56 +0000 Subject: Split the name for signed and unsigned int writing in cProtocol. Hopefully this fixes compilation problems with 64-bit debian ( http://forum.mc-server.org/showthread.php?tid=575 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@940 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Protocol/Protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/Protocol/Protocol.h') diff --git a/source/Protocol/Protocol.h b/source/Protocol/Protocol.h index c98f2729b..2e2afd364 100644 --- a/source/Protocol/Protocol.h +++ b/source/Protocol/Protocol.h @@ -126,7 +126,7 @@ protected: SendData((const char *)&a_Value, 4); } - void WriteInt(unsigned int a_Value) + void WriteUInt(unsigned int a_Value) { a_Value = htonl(a_Value); SendData((const char *)&a_Value, 4); -- cgit v1.2.3