pineapple-src/externals/vcpkg/ports/live555/fix-RTSPClient.patch
2022-07-23 03:01:36 +02:00

13 lines
445 B
Diff
Executable file

diff --git a/liveMedia/RTSPClient.cpp b/liveMedia/RTSPClient.cpp
index 02c46c7..6127698 100644
--- a/liveMedia/RTSPClient.cpp
+++ b/liveMedia/RTSPClient.cpp
@@ -1939,7 +1939,7 @@ int RTSPClient::write(const u_int8_t* data, unsigned count) {
if (fTLS.isNeeded) {
return fTLS.write(data, count);
} else {
- return send(fOutputSocketNum, data, count, 0);
+ return send(fOutputSocketNum, (const char *)data, count, 0);
}
}