apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: apr-util/buckets apr_buckets_simple.c
Date Wed, 28 Feb 2001 13:03:42 GMT
On Wed, Feb 28, 2001 at 11:40:21AM +0000, Ben Laurie wrote:
> trawick@apache.org 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/

Mime
View raw message