diff options
author | hasso <hasso> | 2004-09-26 16:24:14 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-09-26 16:24:14 +0000 |
commit | f7c43dcbbc44e2098728f9849d152d9b6df97a5d (patch) | |
tree | b0a244f23dc7f1d9414d7a92316f7f83e3103c5b /isisd/isis_pdu.c | |
parent | 1af8193311192ec1bd2a4d2769e0e9b90bc1609f (diff) |
Compiler warnings fixes.
Diffstat (limited to 'isisd/isis_pdu.c')
-rw-r--r-- | isisd/isis_pdu.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |