From f7c43dcbbc44e2098728f9849d152d9b6df97a5d Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 26 Sep 2004 16:24:14 +0000 Subject: Compiler warnings fixes. --- isisd/isis_pdu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'isisd/isis_pdu.c') diff --git a/isisd/isis_pdu.c b/isisd/isis_pdu.c index bf8c14f7..436240ef 100644 --- a/isisd/isis_pdu.c +++ b/isisd/isis_pdu.c @@ -334,7 +334,7 @@ process_p2p_hello (struct isis_circuit *circuit) adj = circuit->u.p2p.neighbor; if (!adj) { - adj = isis_new_adj (hdr->source_id, " ", 0, circuit); + adj = isis_new_adj (hdr->source_id, (u_char *) " ", 0, circuit); if (adj == NULL) return ISIS_ERROR; circuit->u.p2p.neighbor = adj; @@ -1587,7 +1587,7 @@ process_is_hello (struct isis_circuit *circuit) if (!adj) { /* 8.2.2 */ - adj = isis_new_adj (sysid, " ", 0, circuit); + adj = isis_new_adj (sysid, (u_char *) " ", 0, circuit); if (adj == NULL) return ISIS_ERROR; @@ -1603,7 +1603,7 @@ process_is_hello (struct isis_circuit *circuit) /* 8.2.2 a) 2) delete the adj */ XFREE (MTYPE_ISIS_ADJACENCY, adj); /* 8.2.2 a) 3) create a new adj */ - adj = isis_new_adj (sysid, " ", 0, circuit); + adj = isis_new_adj (sysid, (u_char *) " ", 0, circuit); if (adj == NULL) return ISIS_ERROR; -- cgit v1.2.1