diff options
author | madmaxoft <github@xoft.cz> | 2014-04-06 22:15:49 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-06 22:15:49 +0200 |
commit | de3df0a71fbde1630775c0daa592d6f2c1ba679f (patch) | |
tree | a0dbd08721a40da446f1297bd8b9cada6f2da84f /src/Protocol | |
parent | Updated the tolua executable for Windows. (diff) | |
download | cuberite-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 'src/Protocol')
-rw-r--r-- | src/Protocol/Protocol.h | 2 |
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) |