]> granicus.if.org Git - apache/commitdiff
Follow up to r1734656, r1736216: use correct pointer size semantic.
authorYann Ylavic <ylavic@apache.org>
Tue, 22 Mar 2016 18:23:08 +0000 (18:23 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 22 Mar 2016 18:23:08 +0000 (18:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1736225 13f79535-47bb-0310-9956-ffa450edef68

server/util_filter.c

index b392ff2722ec2bab0db1a6e45a40c480d97df830..9a05cc1a635f67a70a1befe483cb82e604a3a0b4 100644 (file)
@@ -714,7 +714,7 @@ AP_DECLARE(int) ap_filter_prepare_brigade(ap_filter_t *f, apr_pool_t **p)
         pool = f->r ? f->r->pool : f->c->pool;
 
         key = apr_pmemdup(pool, &f, sizeof f);
-        apr_hash_set(f->c->filters, key, sizeof key, f);
+        apr_hash_set(f->c->filters, key, sizeof *key, f);
 
         f->bb = apr_brigade_create(pool, f->c->bucket_alloc);