CVS: rdesktop tcp.c,1.26,1.27

Jeroen Meijer <[email protected]>
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11115

Modified Files:
	tcp.c 
Log Message:
fix compiler warning about passing arg from incompatible pointer type

Index: tcp.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/tcp.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** tcp.c	27 Jun 2004 19:17:24 -0000	1.26
--- tcp.c	2 Mar 2005 01:18:33 -0000	1.27
***************
*** 233,237 ****
  	static char ipaddr[32];
  	struct sockaddr_in sockaddr;
! 	size_t len = sizeof(sockaddr);
  	if (getsockname(sock, (struct sockaddr *) &sockaddr, &len) == 0)
  	{
--- 233,237 ----
  	static char ipaddr[32];
  	struct sockaddr_in sockaddr;
! 	socklen_t len = sizeof(sockaddr);
  	if (getsockname(sock, (struct sockaddr *) &sockaddr, &len) == 0)
  	{



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.