From 0185716a916522abe60d7433c285424354fbe72f Mon Sep 17 00:00:00 2001 From: tycho Date: Sat, 26 Dec 2015 14:09:12 +0000 Subject: Fixed some type issues --- src/Protocol/Protocol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Protocol/Protocol.h') diff --git a/src/Protocol/Protocol.h b/src/Protocol/Protocol.h index af0485a78..0f9136d2b 100644 --- a/src/Protocol/Protocol.h +++ b/src/Protocol/Protocol.h @@ -61,7 +61,7 @@ public: virtual ~cProtocol() {} /** Called when client sends some data */ - virtual void DataReceived(const char * a_Data, size_t a_Size) = 0; + virtual void DataReceived(const Byte * a_Data, size_t a_Size) = 0; // Sending stuff to clients (alphabetically sorted): virtual void SendAttachEntity (const cEntity & a_Entity, const cEntity * a_Vehicle) = 0; @@ -165,7 +165,7 @@ protected: cByteBuffer m_OutPacketLenBuffer; /** A generic data-sending routine, all outgoing packet data needs to be routed through this so that descendants may override it. */ - virtual void SendData(const char * a_Data, size_t a_Size) = 0; + virtual void SendData(const Byte * a_Data, size_t a_Size) = 0; /** Sends a single packet contained within the cPacketizer class. The cPacketizer's destructor calls this to send the contained packet; protocol may transform the data (compression in 1.8 etc). */ -- cgit v1.2.3