zip-reader: Switch to a more usual error reporting mechanism.
[pspp] / tests / libpspp / bt-test.c
index 42cfbeabef429044095ceeeb41b277065fb59aff..f9f0c9b3eab20f2c8ed36ab1bd547f9ecad353b5 100644 (file)
@@ -26,7 +26,6 @@
 
 #include <libpspp/bt.h>
 
-#include <assert.h>
 #include <stdbool.h>
 #include <stddef.h>
 #include <stdint.h>
@@ -118,7 +117,7 @@ static int aux_data;
 static struct element *
 bt_node_to_element (const struct bt_node *node)
 {
-  return bt_data (node, struct element, node);
+  return BT_DATA (node, struct element, node);
 }
 
 /* Compares the `x' values in A and B and returns a strcmp-type