utf8: don't allow NUL in decoded strings.
[ccan] / ccan / avl / avl.c
index 001ea438eb9f4c15967ce775e9d70711dada66be..d1647f3779b77790ff4dd225a16d417fdce9ea3a 100644 (file)
@@ -62,7 +62,7 @@ static int sign(int cmp)
        return 1;
 }
 
-AVL *avl_new(AvlCompare compare)
+AVL *avl_new(total_order_noctx_cb compare)
 {
        AVL *avl = malloc(sizeof(*avl));