Hi,

Kevin Ryde <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED] (Ludovic Courtès) writes:

>> +  if (((struct sockaddr *) &addr)->sa_family ...
>
> That can use the union member instead of a cast, can it?

No it can't.  AFAICS, there's nothing in the C standard forcing fields
of unions to be stored at offset zero when said fields have different
sizes.

Thanks,
Ludovic.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to