1
0

More ClientHandle fixes.

This commit is contained in:
madmaxoft 2014-05-01 23:03:23 +02:00
parent ed75d3a836
commit e24bdc9328
2 changed files with 3 additions and 3 deletions

View File

@ -716,7 +716,7 @@ void cClientHandle::UnregisterPluginChannels(const AStringVector & a_ChannelList
void cClientHandle::HandleCommandBlockMessage(const char * a_Data, unsigned int a_Length) void cClientHandle::HandleCommandBlockMessage(const char * a_Data, size_t a_Length)
{ {
if (a_Length < 14) if (a_Length < 14)
{ {
@ -2522,7 +2522,7 @@ void cClientHandle::SendWindowOpen(const cWindow & a_Window)
void cClientHandle::SendWindowProperty(const cWindow & a_Window, short a_Property, short a_Value) void cClientHandle::SendWindowProperty(const cWindow & a_Window, int a_Property, int a_Value)
{ {
m_Protocol->SendWindowProperty(a_Window, a_Property, a_Value); m_Protocol->SendWindowProperty(a_Window, a_Property, a_Value);
} }

View File

@ -384,7 +384,7 @@ private:
void UnregisterPluginChannels(const AStringVector & a_ChannelList); void UnregisterPluginChannels(const AStringVector & a_ChannelList);
/** Handles the "MC|AdvCdm" plugin message */ /** Handles the "MC|AdvCdm" plugin message */
void HandleCommandBlockMessage(const char * a_Data, unsigned int a_Length); void HandleCommandBlockMessage(const char * a_Data, size_t a_Length);
// cSocketThreads::cCallback overrides: // cSocketThreads::cCallback overrides:
virtual void DataReceived (const char * a_Data, size_t a_Size) override; // Data is received from the client virtual void DataReceived (const char * a_Data, size_t a_Size) override; // Data is received from the client