summaryrefslogtreecommitdiff
path: root/tests/lib/test_srcdest_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/test_srcdest_table.c')
-rw-r--r--tests/lib/test_srcdest_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/test_srcdest_table.c b/tests/lib/test_srcdest_table.c
index 3c3129b9ce..2d8f024d16 100644
--- a/tests/lib/test_srcdest_table.c
+++ b/tests/lib/test_srcdest_table.c
@@ -328,7 +328,7 @@ static void get_rand_prefix(struct prng *prng, struct prefix_ipv6 *p)
p->prefixlen = prng_rand(prng) % 129;
p->family = AF_INET6;
- apply_mask((struct prefix *)p);
+ apply_mask(p);
}
static void get_rand_prefix_pair(struct prng *prng, struct prefix_ipv6 *dst_p,