vcpkg/ports/live555/fix-RTSPClient.patch
2023-04-04 15:41:15 -07:00

14 lines
477 B
Diff

diff --git a/liveMedia/RTSPClient.cpp b/liveMedia/RTSPClient.cpp
index 66e0c79..13255af 100644
--- a/liveMedia/RTSPClient.cpp
+++ b/liveMedia/RTSPClient.cpp
@@ -2029,7 +2029,7 @@ int RTSPClient::write(const char* data, unsigned count) {
if (fOutputTLS->isNeeded) {
return fOutputTLS->write(data, count);
} else {
- return send(fOutputSocketNum, data, count, MSG_NOSIGNAL);
+ return send(fOutputSocketNum, (const char *)data, count, MSG_NOSIGNAL);
}
}