summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_KeepAlive.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/packets/cPacket_KeepAlive.cpp')
-rw-r--r--source/packets/cPacket_KeepAlive.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/packets/cPacket_KeepAlive.cpp b/source/packets/cPacket_KeepAlive.cpp
index cfc6b99b3..0dc9302b3 100644
--- a/source/packets/cPacket_KeepAlive.cpp
+++ b/source/packets/cPacket_KeepAlive.cpp
@@ -17,10 +17,10 @@ void cPacket_KeepAlive::Serialize(AString & a_Data) const
-int cPacket_KeepAlive::Parse(const char * a_Data, int a_Size)
+int cPacket_KeepAlive::Parse(cByteBuffer & a_Buffer)
{
int TotalBytes = 0;
- HANDLE_PACKET_READ(ReadInteger, m_KeepAliveID, TotalBytes);
+ HANDLE_PACKET_READ(ReadBEInt, m_KeepAliveID, TotalBytes);
return TotalBytes;
}