diff options
Diffstat (limited to 'tests/variant-db.c')
-rw-r--r-- | tests/variant-db.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/variant-db.c b/tests/variant-db.c index bc6b3f4..549264f 100644 --- a/tests/variant-db.c +++ b/tests/variant-db.c @@ -35,7 +35,7 @@ main(int argc, const char *key; lt_iter_t *iter; - iter = lt_iter_init((lt_iter_tmpl_t *)variantdb); + iter = LT_ITER_INIT (variantdb); while (lt_iter_next(iter, (lt_pointer_t *)&key, NULL)) { @@ -45,7 +45,7 @@ main(int argc, } else if (lt_strcmp0(argv[1], "list_values") == 0) { lt_iter_t *iter; - iter = lt_iter_init((lt_iter_tmpl_t *)variantdb); + iter = LT_ITER_INIT (variantdb); while (lt_iter_next(iter, NULL, (lt_pointer_t *)&variant)) { |