diff options
Diffstat (limited to 'zebra/irdp_interface.c')
-rw-r--r-- | zebra/irdp_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/irdp_interface.c b/zebra/irdp_interface.c index 9aace8c43..76654c476 100644 --- a/zebra/irdp_interface.c +++ b/zebra/irdp_interface.c @@ -245,7 +245,7 @@ void irdp_if_start(struct interface *ifp, int multicast, int set_defaults) timer = (random () % IRDP_DEFAULT_INTERVAL) + 1; irdp->AdvPrefList = list_new(); - irdp->AdvPrefList->del = (void *) Adv_free; /* Destructor */ + irdp->AdvPrefList->del = (void (*)(void *)) Adv_free; /* Destructor */ /* And this for startup. Speed limit from 1991 :-). But it's OK*/ |