summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-06 22:15:49 +0200
committermadmaxoft <github@xoft.cz>2014-04-06 22:15:49 +0200
commitde3df0a71fbde1630775c0daa592d6f2c1ba679f (patch)
treea0dbd08721a40da446f1297bd8b9cada6f2da84f /src/Protocol/Protocol.h
parentUpdated the tolua executable for Windows. (diff)
downloadcuberite-de3df0a71fbde1630775c0daa592d6f2c1ba679f.tar
cuberite-de3df0a71fbde1630775c0daa592d6f2c1ba679f.tar.gz
cuberite-de3df0a71fbde1630775c0daa592d6f2c1ba679f.tar.bz2
cuberite-de3df0a71fbde1630775c0daa592d6f2c1ba679f.tar.lz
cuberite-de3df0a71fbde1630775c0daa592d6f2c1ba679f.tar.xz
cuberite-de3df0a71fbde1630775c0daa592d6f2c1ba679f.tar.zst
cuberite-de3df0a71fbde1630775c0daa592d6f2c1ba679f.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol.h b/src/Protocol/Protocol.h
index ae06f2f9e..939170f0e 100644
--- a/src/Protocol/Protocol.h
+++ b/src/Protocol/Protocol.h
@@ -177,7 +177,7 @@ protected:
void WriteInt64 (Int64 a_Value)
{
UInt64 Value = HostToNetwork8(&a_Value);
- SendData((const char *)Value, 8);
+ SendData((const char *)&Value, 8);
}
void WriteFloat (float a_Value)