summaryrefslogtreecommitdiff
path: root/test/tree-buf.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-03-25 14:18:36 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-03-25 14:18:36 +0000
commit9ce4251a5d71cbffa0863f45d72847285d03d6d5 (patch)
treec2889e33930b3b6c0164732710024d638abdbca5 /test/tree-buf.c
parent3e1941a1f04f2ac0b0984ea1bbaac9cba49e99f8 (diff)
downloadlibhubbub-9ce4251a5d71cbffa0863f45d72847285d03d6d5.tar.gz
libhubbub-9ce4251a5d71cbffa0863f45d72847285d03d6d5.tar.bz2
Port to new test scheme.
Avoid strict-aliasing warnings. svn path=/trunk/hubbub/; revision=6870
Diffstat (limited to 'test/tree-buf.c')
-rw-r--r--test/tree-buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tree-buf.c b/test/tree-buf.c
index 4280a69..2c623e1 100644
--- a/test/tree-buf.c
+++ b/test/tree-buf.c
@@ -595,7 +595,7 @@ int clone_node(void *ctx, void *node, bool deep, void **result)
child = child->next) {
node_t *n;
- clone_node(ctx, child, true, (void **) &n);
+ clone_node(ctx, child, true, (void **) (void *) &n);
n->refcnt = 0;