summaryrefslogtreecommitdiff
path: root/zebra/irdp_interface.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-09-26 16:09:34 +0000
committerhasso <hasso>2004-09-26 16:09:34 +0000
commitc9e52be3f4d98943b67fbbe5d9a7ccd823b88326 (patch)
treed4045a946af3be8bbdc303162778e8c44057e2f9 /zebra/irdp_interface.c
parente473b032b860444b9656cee1654b0120f77b52b1 (diff)
Compiler warnings fixes.
Diffstat (limited to 'zebra/irdp_interface.c')
-rw-r--r--zebra/irdp_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/irdp_interface.c b/zebra/irdp_interface.c
index 9aace8c4..76654c47 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*/