X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f565a6c2f4c6961c96dd330a98d0fa78f20ca8c0..7a766dcda16f3eaaa9f26d5e147e958b24d175b0:/src/common/sckipc.cpp diff --git a/src/common/sckipc.cpp b/src/common/sckipc.cpp index daa27c636c..3fea37e1ec 100644 --- a/src/common/sckipc.cpp +++ b/src/common/sckipc.cpp @@ -471,7 +471,7 @@ void wxTCPEventHandler::Client_OnRequest(wxSocketEvent &event) data = new char[size]; sockstrm->Read(data, size); - connection->OnExecute (topic_name, (wxChar *) data, size, format); + connection->OnExecute (topic_name, data, size, format); delete [] data; break; @@ -488,7 +488,7 @@ void wxTCPEventHandler::Client_OnRequest(wxSocketEvent &event) data = new char[size]; sockstrm->Read(data, size); - connection->OnAdvise (topic_name, item, (wxChar *) data, size, format); + connection->OnAdvise (topic_name, item, data, size, format); delete [] data; break;