vcpkg/ports/live555/fix-RTSPClient.patch
Jack·Boos·Yu 592158c502
[live555] Update to 2022-07-14 (#26144)
* [live555] Update to 2022-07-14

* version

* Update ports/live555/vcpkg.json

Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com>

* Update versions/l-/live555.json

Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com>
2022-08-04 10:38:23 -07:00

14 lines
455 B
Diff

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);
}
}