From f1b794b23977089dafd3f644fd80a3890ba0c2d5 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 3 Oct 2020 16:07:14 +0200 Subject: [PATCH] Use of external documented type instead of internal type. --- tests/test-mdict.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-mdict.c b/tests/test-mdict.c index 39f525e1..bbe6777a 100644 --- a/tests/test-mdict.c +++ b/tests/test-mdict.c @@ -435,7 +435,7 @@ static void test_it_oa(void) dict_oa_int_it_t it; size_t s = 0; for(dict_oa_int_it(it, d1); !dict_oa_int_end_p(it); dict_oa_int_next(it)) { - dict_oa_int_pair_t *pair = dict_oa_int_ref(it); + dict_oa_int_type_t *pair = dict_oa_int_ref(it); assert (pair->key >= 0 && pair->key < 200); assert (pair->value == pair->key + 1); s++; @@ -461,7 +461,7 @@ static void test_it_oa(void) s = 0; for(dict_oa_int_it_last(it, d1); !dict_oa_int_end_p(it); dict_oa_int_previous(it)) { - dict_oa_int_pair_t *pair = dict_oa_int_ref(it); + dict_oa_int_type_t *pair = dict_oa_int_ref(it); assert (pair->key >= 0 && pair->key < 200); assert (pair->value == pair->key + 1); s++;