summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_TimeUpdate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/packets/cPacket_TimeUpdate.cpp')
-rw-r--r--source/packets/cPacket_TimeUpdate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/packets/cPacket_TimeUpdate.cpp b/source/packets/cPacket_TimeUpdate.cpp
index be54e1484..1195305d4 100644
--- a/source/packets/cPacket_TimeUpdate.cpp
+++ b/source/packets/cPacket_TimeUpdate.cpp
@@ -7,10 +7,10 @@
-int cPacket_TimeUpdate::Parse(const char * a_Data, int a_Size)
+int cPacket_TimeUpdate::Parse(cByteBuffer & a_Buffer)
{
int TotalBytes = 0;
- HANDLE_PACKET_READ(ReadLong, m_Time, TotalBytes);
+ HANDLE_PACKET_READ(ReadBEInt64, m_Time, TotalBytes);
return TotalBytes;
}