Luigi Rizzo wrote:
> > I don't understand the second one.  The first one blows up because
> > you aren't parenthesizing, e.g.:
> >
> >       next = (void *)(p + len);
> >
> > The compiler is complaining because it doesn't know sizeof(*((void *)0))
> 
> ok, it actually evaluates to 1 and i thought it was some standard, probably
> it is not so i guess i have to cast to (char *) instead

THat's what I meant -- "char *", not "char"; sorry for any confusion.

-- Terry
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to