mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
win32: Avoid some compiler warnings when cross-compiling for mingw32
Autoconf documentation says that AC_FUNC_SELECT_ARGTYPES shouldn't be used anyway.
This commit is contained in:
parent
5958208c26
commit
e8028304b3
6 changed files with 20 additions and 29 deletions
|
|
@ -377,7 +377,7 @@ static int do_write(struct userdata *u) {
|
|||
|
||||
pa_make_tcp_socket_low_delay(u->fd);
|
||||
|
||||
if (getsockopt(u->fd, SOL_SOCKET, SO_SNDBUF, &so_sndbuf, &sl) < 0)
|
||||
if (getsockopt(u->fd, SOL_SOCKET, SO_SNDBUF, (void *) &so_sndbuf, &sl) < 0)
|
||||
pa_log_warn("getsockopt(SO_SNDBUF) failed: %s", pa_cstrerror(errno));
|
||||
else {
|
||||
pa_log_debug("SO_SNDBUF is %zu.", (size_t) so_sndbuf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue