aboutsummaryrefslogtreecommitdiff
path: root/ports/live555/fix-RTSPClient.patch
diff options
context:
space:
mode:
authorAlvin <52727318+AlvinZhangH@users.noreply.github.com>2019-12-21 04:00:56 +0800
committerdan-shaw <51385773+dan-shaw@users.noreply.github.com>2019-12-20 12:00:56 -0800
commitc77c1cd86150e14ee3ecba319ee554b46f39ebd4 (patch)
treeb1ba283a8ee406f89df230beede039ce2bcd98cb /ports/live555/fix-RTSPClient.patch
parent14b0cf90e89dd6436f64a181bc44d76f76dff6fa (diff)
downloadvcpkg-c77c1cd86150e14ee3ecba319ee554b46f39ebd4.tar.gz
vcpkg-c77c1cd86150e14ee3ecba319ee554b46f39ebd4.zip
[live555] Fix live555:x86-windows-static build failure (#9303)
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);
+ }
+ }
+