diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-08-05 11:37:28 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-08-05 11:37:28 +0000 |
commit | de186485a557d246567e667f4e9fd3f7f167ce7c (patch) | |
tree | aa87ab5eb0fef79cd8f71e85ccd0219c3196468e | |
parent | 8d1def272cd737344294c72a69e316f33637eca6 (diff) | |
download | libhubbub-de186485a557d246567e667f4e9fd3f7f167ce7c.tar.gz libhubbub-de186485a557d246567e667f4e9fd3f7f167ce7c.tar.bz2 |
Squash warnings on AMD64
svn path=/trunk/hubbub/; revision=4914
-rw-r--r-- | test/tokeniser2.c | 2 | ||||
-rw-r--r-- | test/tree2.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/tokeniser2.c b/test/tokeniser2.c index eb369b4..82fc69c 100644 --- a/test/tokeniser2.c +++ b/test/tokeniser2.c @@ -311,7 +311,7 @@ void token_handler(const hubbub_token *token, void *pw) printf("\tsystem: '%.*s' (%d)\n", (int) token->data.doctype.system_id.len, gotsys, - token->data.doctype.system_id.len); + (int) token->data.doctype.system_id.len); } assert(token->data.doctype.name.len == strlen(expname)); 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); |