]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckipc.cpp
Further fixes to references
[wxWidgets.git] / src / common / sckipc.cpp
index daa27c636ca9476e695c615d0d58c556683c823e..3fea37e1ece57ee211fdb76dfeac8efb01cff32b 100644 (file)
@@ -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;