bt, abt: Add initialization and iteration macros.
[pspp] / tests / libpspp / range-tower-test.c
index 3939725cc208022c73f45094ece1ed5507ca76ae..dce8f8b1e10bca9717c7a907c0a8bd72c3fdf9f0 100644 (file)
@@ -165,7 +165,7 @@ print_structure (const struct abt_node *node_)
 
   if (node_ == NULL)
     return;
-  node = abt_data (node_, struct range_tower_node, abt_node);
+  node = ABT_DATA (node_, struct range_tower_node, abt_node);
   printf ("%lu+%lu/%d", node->n_zeros, node->n_ones, node->abt_node.level);
   if (node->abt_node.down[0] || node->abt_node.down[1])
     {