diff options
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/ChangeLog | 4 | ||||
-rw-r--r-- | bgpd/bgp_aspath.c | 2 | ||||
-rw-r--r-- | bgpd/bgp_packet.c | 2 | ||||
-rw-r--r-- | bgpd/bgp_vty.c | 2 |
4 files changed, 7 insertions, 3 deletions
diff --git a/bgpd/ChangeLog b/bgpd/ChangeLog index ee0b3113..2bcce1c7 100644 --- a/bgpd/ChangeLog +++ b/bgpd/ChangeLog @@ -1,3 +1,7 @@ +2004-09-26 Hasso Tepper <hasso at quagga.net> + + * bgp_aspath.c, bgp_packet.c, bgp_vty.c: Fix compiler warnings. + 2004-09-23 Hasso Tepper <hasso at quagga.net> * *.[c|h]: list -> struct list *, listnode -> struct listnode *. diff --git a/bgpd/bgp_aspath.c b/bgpd/bgp_aspath.c index d30ef4cc..bcb8f16f 100644 --- a/bgpd/bgp_aspath.c +++ b/bgpd/bgp_aspath.c @@ -136,7 +136,7 @@ aspath_make_str_count (struct aspath *as) struct assegment *assegment; int str_size = ASPATH_STR_DEFAULT_LEN; int str_pnt; - u_char *str_buf; + char *str_buf; int count = 0; /* Empty aspath. */ diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c index 42820273..b4cd1301 100644 --- a/bgpd/bgp_packet.c +++ b/bgpd/bgp_packet.c @@ -2253,7 +2253,7 @@ bgp_read (struct thread *thread) bgp_notify_send_with_data (peer, BGP_NOTIFY_HEADER_ERR, BGP_NOTIFY_HEADER_BAD_MESLEN, - notify_data_length, 2); + (u_char *) notify_data_length, 2); goto done; } diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 92918bdf..27a3c2eb 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -2584,7 +2584,7 @@ DEFUN (neighbor_description, b = buffer_new (1024); for (i = 1; i < argc; i++) { - buffer_putstr (b, (u_char *)argv[i]); + buffer_putstr (b, argv[i]); buffer_putc (b, ' '); } buffer_putc (b, '\0'); |