summaryrefslogtreecommitdiff
path: root/bgpd/bgp_packet.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 /bgpd/bgp_packet.c
parente473b032b860444b9656cee1654b0120f77b52b1 (diff)
Compiler warnings fixes.
Diffstat (limited to 'bgpd/bgp_packet.c')
-rw-r--r--bgpd/bgp_packet.c2
1 files changed, 1 insertions, 1 deletions
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;
}