summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bgpd/bgp_rpki.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_rpki.c b/bgpd/bgp_rpki.c
index 6ab9c2873d..32ca909fe6 100644
--- a/bgpd/bgp_rpki.c
+++ b/bgpd/bgp_rpki.c
@@ -281,7 +281,7 @@ static void print_record(const struct pfx_record *record, struct vty *vty,
if (!json) {
vty_out(vty, "%-40s %3u - %3u ", ip, record->min_len,
record->max_len);
- vty_out(vty, ASN_FORMAT(asnotation), &record->asn);
+ vty_out(vty, ASN_FORMAT(asnotation), (as_t *)&record->asn);
vty_out(vty, "\n");
} else {
json_record = json_object_new_object();