Re: caddr_t or void *

2006-08-10 Thread RW
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

Re: caddr_t or void *

2006-08-10 Thread RW
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 > dereferenc

Re: caddr_t or void *

2006-08-10 Thread Chuck Swiger
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. -- -Chuck

caddr_t or void *

2006-08-10 Thread Only OpenSource
Hello 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 ? Thanks for any insight on this. -- oo@@oo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailma