[polypaudio-commits] r600 - /trunk/src/polypcore/socket-client.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Fri Feb 24 08:29:05 PST 2006
Author: ossman
Date: Fri Feb 24 17:29:05 2006
New Revision: 600
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=600&root=polypaudio&view=rev
Log:
Do an explicit cast to shut up gcc.
Modified:
trunk/src/polypcore/socket-client.c
Modified: trunk/src/polypcore/socket-client.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polypcore/socket-client.c?rev=600&root=polypaudio&r1=599&r2=600&view=diff
==============================================================================
--- trunk/src/polypcore/socket-client.c (original)
+++ trunk/src/polypcore/socket-client.c Fri Feb 24 17:29:05 2006
@@ -491,7 +491,7 @@
memcpy(&s.sin_addr, host->h_addr, sizeof(struct in_addr));
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);
#endif /* HAVE_GETADDRINFO */
}
More information about the pulseaudio-commits
mailing list