aboutsummaryrefslogtreecommitdiff
path: root/ports/live555/fix-RTSPClient.patch
diff options
context:
space:
mode:
authorJackBoosY <yuzaiyang@beyondsoft.com>2020-01-13 23:55:59 -0800
committerJackBoosY <yuzaiyang@beyondsoft.com>2020-01-13 23:55:59 -0800
commit2514481b42ebdeec28649582fc666955cf206c84 (patch)
tree60c9809a5c3c8adbad240a40b1088a6f8e42c019 /ports/live555/fix-RTSPClient.patch
parentb751326c91c9a307aaf5e340b61ab9f2d1ad45a4 (diff)
parent28eee51adb36f2165be846e77ef7b3ee5b3f8789 (diff)
downloadvcpkg-2514481b42ebdeec28649582fc666955cf206c84.tar.gz
vcpkg-2514481b42ebdeec28649582fc666955cf206c84.zip
Merge branch 'master' of https://github.com/Microsoft/vcpkg into dev/jack/upgrade_libi
Diffstat (limited to 'ports/live555/fix-RTSPClient.patch')
-rw-r--r--ports/live555/fix-RTSPClient.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/live555/fix-RTSPClient.patch b/ports/live555/fix-RTSPClient.patch
new file mode 100644
index 000000000..66863963d
--- /dev/null
+++ b/ports/live555/fix-RTSPClient.patch
@@ -0,0 +1,13 @@
+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);
+ }
+ }
+