From de186485a557d246567e667f4e9fd3f7f167ce7c Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 5 Aug 2008 11:37:28 +0000 Subject: Squash warnings on AMD64 svn path=/trunk/hubbub/; revision=4914 --- test/tree2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/tree2.c') diff --git a/test/tree2.c b/test/tree2.c index 6ec0659..c50b519 100644 --- a/test/tree2.c +++ b/test/tree2.c @@ -489,7 +489,7 @@ int append_child(void *ctx, void *parent, void *child, void **result) tchild->next = tchild->prev = NULL; #ifndef NDEBUG - printf("appending (%x):\n", (unsigned)tchild); + printf("appending (%p):\n", (void *) tchild); node_print(NULL, tchild, 0); printf("to:\n"); if (parent != (void *)1) @@ -546,7 +546,7 @@ int insert_before(void *ctx, void *parent, void *child, void *ref_child, node_t *tref = ref_child; #ifndef NDEBUG - printf("inserting (%x):\n", (unsigned)tchild); + printf("inserting (%p):\n", (void *) tchild); node_print(NULL, tchild, 0); printf("before:\n"); node_print(NULL, tref, 0); -- cgit v1.2.3