On Thursday 10 August 2006 15:16, RW wrote: > On Thursday 10 August 2006 14:56, Chuck Swiger wrote: > > Only OpenSource wrote: > > > caddr_t which is a typedef for char* seems to be used quite often in > > > the kernel code. Would void* be preferable to caddr_t ? > > > > No. Having to cast (void *)'s to the actual data type every time you > > dereference them would be highly annoying. > > My C's a bit rusty, but isn't it the other way around. You don't need to > cast (void *) so it suppresses useful type warnings.
Sorry, missed the bit about dereferencing. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"