obs-outputs: Minor pointer fixes
parent
183cc920c8
commit
0e77a2c75b
|
@ -210,7 +210,7 @@ static inline PIP_ADAPTER_ADDRESSES get_adapters(void)
|
|||
FORMAT_MESSAGE_IGNORE_INSERTS,
|
||||
NULL, ret,
|
||||
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
|
||||
msg_buf, 0, NULL);
|
||||
(LPSTR)&msg_buf, 0, NULL);
|
||||
if (msg_buf) {
|
||||
warn("Call to GetAdaptersAddresses failed: %s (%d)",
|
||||
msg_buf, ret);
|
||||
|
|
|
@ -768,7 +768,7 @@ static void win32_log_interface_type(struct rtmp_stream *stream)
|
|||
if (rtmp->m_bindIP.addrLen == 0)
|
||||
source_addr = 0;
|
||||
else if (rtmp->m_bindIP.addr.ss_family == AF_INET)
|
||||
source_addr = (*(struct sockaddr_in *)&rtmp->m_bindIP)
|
||||
source_addr = (*(struct sockaddr_in *)&rtmp->m_bindIP.addr)
|
||||
.sin_addr.S_un.S_addr;
|
||||
else
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue