diff options
-rw-r--r-- | test/Makefile | 6 | ||||
-rw-r--r-- | test/tree-buf.c | 2 | ||||
-rw-r--r-- | test/tree2.c | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/test/Makefile b/test/Makefile index 693098b..db3f9fe 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,5 +1,7 @@ # Tests -DIR_TEST_SOURCES := csdetect.c dict.c entities.c hubbub.c parser.c \ - tokeniser.c tokeniser2.c tokeniser3.c tree.c tree2.c tree-buf.c +DIR_TEST_ITEMS := csdetect:csdetect.c dict:dict.c entities:entities.c \ + hubbub:hubbub.c parser:parser.c tokeniser:tokeniser.c \ + tokeniser2:tokeniser2.c tokeniser3:tokeniser3.c tree:tree.c \ + tree2:tree2.c tree-buf:tree-buf.c include build/makefiles/Makefile.subdir 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; diff --git a/test/tree2.c b/test/tree2.c index 98826ca..3544ff4 100644 --- a/test/tree2.c +++ b/test/tree2.c @@ -675,7 +675,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; |