On Tue, Sep 09, 2003 at 08:21:43AM +0200, Matthieu Herrb wrote:
>David Dawes wrote (in a message from Monday 8)
> > When building on FreeBSD 4.4 I'm getting the following warnings:
> > 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 *).
>
>oops, yes. 
> > 
> > What types to other BSD44SOCKETS platforms use for the sa_len and sin_len
> > fields?
>
>They are both unsigned chars on Darwin, NetBSD and OpenBSD too. 

Thanks for checking.  I've changed it to unsigned char when BSD44SOCKETS
is defined.

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

Reply via email to