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