You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by David Reid <dr...@jetnet.co.uk> on 2000/10/16 01:42:05 UTC
More buckets const stuff...
This shuts up a compiler warning on BeOS. Don't know if it's needed so
I haven't committed it. Ryan/Greg?
Index: ap/ap_buckets.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/ap/ap_buckets.c,v
retrieving revision 1.23
diff -u -u -r1.23 ap_buckets.c
--- ap/ap_buckets.c 2000/10/15 22:24:12 1.23
+++ ap/ap_buckets.c 2000/10/15 22:45:25
@@ -242,7 +242,7 @@
int ap_insert_bucket_type(const ap_bucket_type *type)
{
- const ap_bucket_type **newone = (ap_bucket_type **
)apr_push_array(bucket_types);
+ const ap_bucket_type **newone = (const ap_bucket_type **
)apr_push_array(bucket_types);
newone = &type;
Re: More buckets const stuff...
Posted by Greg Stein <gs...@lyra.org>.
I actually thought about this while I was biking back/forth to meeting some
friends this afternoon. Yes, it should change.
I've just checked it in.
thx,
-g
On Sun, Oct 15, 2000 at 11:42:05PM +0000, David Reid wrote:
> This shuts up a compiler warning on BeOS. Don't know if it's needed so
> I haven't committed it. Ryan/Greg?
>
> Index: ap/ap_buckets.c
> ===================================================================
> RCS file: /home/cvs/apache-2.0/src/ap/ap_buckets.c,v
> retrieving revision 1.23
> diff -u -u -r1.23 ap_buckets.c
> --- ap/ap_buckets.c 2000/10/15 22:24:12 1.23
> +++ ap/ap_buckets.c 2000/10/15 22:45:25
> @@ -242,7 +242,7 @@
>
> int ap_insert_bucket_type(const ap_bucket_type *type)
> {
> - const ap_bucket_type **newone = (ap_bucket_type **
> )apr_push_array(bucket_types);
> + const ap_bucket_type **newone = (const ap_bucket_type **
> )apr_push_array(bucket_types);
>
> newone = &type;
>
--
Greg Stein, http://www.lyra.org/