diff --git a/liveMedia/RTSPClient.cpp b/liveMedia/RTSPClient.cpp index 130baa9..8e1ea10 100644 --- a/liveMedia/RTSPClient.cpp +++ b/liveMedia/RTSPClient.cpp @@ -2022,7 +2022,7 @@ int RTSPClient::write(const char* data, unsigned count) { if (fOutputTLS->isNeeded) { return fOutputTLS->write(data, count); } else { - return send(fOutputSocketNum, data, count, 0); + return send(fOutputSocketNum, (const char *)data, count, 0); } }