[asterisk-dev] [asterisk-commits] file: trunk r81345 - /trunk/main/event.c

Kevin P. Fleming kpfleming at digium.com
Wed Aug 29 17:02:22 CDT 2007


Tony Mountifield wrote:

> Because arithmetic on void* pointers is not really valid C? GCC just pretends
> a "void" is 1 byte long, but it really has undefined size. Sometimes GCC
> goes beyond providing useful features into encouraging sloppy programming!

Yeah, I'll relent on this one. 'char *' is clearly a better choice than
'void *'.

-- 
Kevin P. Fleming
Director of Software Technologies
Digium, Inc. - "The Genuine Asterisk Experience" (TM)



More information about the asterisk-dev mailing list