vcpkg/ports/live555/fix-RTSPClient.patch

14 lines
477 B
Diff
Raw Normal View History

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