tree data BUGFIX hash table item size
diff --git a/src/tree_data.c b/src/tree_data.c
index 809a257..9181c89 100644
--- a/src/tree_data.c
+++ b/src/tree_data.c
@@ -3062,7 +3062,7 @@
     LY_CHECK_GOTO(ret, cleanup);
 
     /* create hash table for all the parents of results */
-    parent_ht = lyht_new(32, sizeof *node, lyd_trim_equal_cb, NULL, 1);
+    parent_ht = lyht_new(32, sizeof node, lyd_trim_equal_cb, NULL, 1);
     LY_CHECK_GOTO(!parent_ht, cleanup);
 
     for (i = 0; i < xp_set.used; ++i) {