mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
Do an explicit cast to shut up gcc.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@600 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
c3a26709cb
commit
25bcc106d0
1 changed files with 1 additions and 1 deletions
|
|
@ -491,7 +491,7 @@ pa_socket_client* pa_socket_client_new_string(pa_mainloop_api *m, const char*nam
|
||||||
memcpy(&s.sin_addr, host->h_addr, sizeof(struct in_addr));
|
memcpy(&s.sin_addr, host->h_addr, sizeof(struct in_addr));
|
||||||
s.sin_port = htons(a.port);
|
s.sin_port = htons(a.port);
|
||||||
|
|
||||||
if ((c = pa_socket_client_new_sockaddr(m, &s, sizeof(s))))
|
if ((c = pa_socket_client_new_sockaddr(m, (struct sockaddr*)&s, sizeof(s))))
|
||||||
start_timeout(c);
|
start_timeout(c);
|
||||||
#endif /* HAVE_GETADDRINFO */
|
#endif /* HAVE_GETADDRINFO */
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue