When building on FreeBSD 4.4 I'm getting the following warnings: xdmcp.c:1566: warning: passing arg 6 of `get_addr_by_name' from incompatible pointer type xdmcp.c: In function `get_fromaddr_by_name': xdmcp.c:1589: warning: passing arg 6 of `get_addr_by_name' from incompatible pointer type
The sa_len and sin_len fields are defined on this platform as u_char, while SOCKLEN_TYPE is defined as unsigned int. This looks like a potential problem given that the (u_char *) is dereferenced and written to as an (unsigned int *). What types to other BSD44SOCKETS platforms use for the sa_len and sin_len fields? David -- David Dawes X-Oz Technologies www.XFree86.org/~dawes www.x-oz.com _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
