mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 03:00:19 +08:00
14 lines
477 B
Diff
14 lines
477 B
Diff
diff --git a/liveMedia/RTSPClient.cpp b/liveMedia/RTSPClient.cpp
|
|
index 66e0c79..13255af 100644
|
|
--- a/liveMedia/RTSPClient.cpp
|
|
+++ b/liveMedia/RTSPClient.cpp
|
|
@@ -2029,7 +2029,7 @@ int RTSPClient::write(const char* data, unsigned count) {
|
|
if (fOutputTLS->isNeeded) {
|
|
return fOutputTLS->write(data, count);
|
|
} else {
|
|
- return send(fOutputSocketNum, data, count, MSG_NOSIGNAL);
|
|
+ return send(fOutputSocketNum, (const char *)data, count, MSG_NOSIGNAL);
|
|
}
|
|
}
|
|
|