1
0

Fixed crash in protocols sending 64-bit ints.

Fixes #855.
This commit is contained in:
madmaxoft 2014-04-06 22:15:49 +02:00
parent 7119dd293a
commit de3df0a71f

View File

@ -177,7 +177,7 @@ protected:
void WriteInt64 (Int64 a_Value) void WriteInt64 (Int64 a_Value)
{ {
UInt64 Value = HostToNetwork8(&a_Value); UInt64 Value = HostToNetwork8(&a_Value);
SendData((const char *)Value, 8); SendData((const char *)&Value, 8);
} }
void WriteFloat (float a_Value) void WriteFloat (float a_Value)