On Wed, Feb 28, 2001 at 11:40:21AM +0000, Ben Laurie wrote: > [EMAIL PROTECTED] wrote: > > > > trawick 01/02/27 18:19:02 > > > > Modified: buckets apr_buckets_simple.c > > Log: > > Fix some warnings related to the fact that you can't do arithmetic > > with a void *. > > Wouldn't it be better to make b->data a char * in the first place?
Nope. It is only a char* for certain bucket types. And the fact that it *is* a char* is private to the bucket. For example, file buckets point to a struct in b->data. Cheers, -g -- Greg Stein, http://www.lyra.org/