From 6c83567192ada1a66822c3f35580ce6a85f51ac9 Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 11 Oct 2004 11:00:30 +0000 Subject: 2004-10-11 Paul Jakma * (global) Const char update and signed/unsigned fixes. * (various headers) size defines should be unsigned. * ospf_interface.h: remove duplicated defines, include the authoritative header - though, these defines should probably be moved to a dedicated header, or ospfd.h. * ospf_lsa.h: (struct lsa) ls_seqnum should be unsigned. * ospf_packet.c: (ospf_write) cast result of shift to unsigned. --- ospfd/ospfd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ospfd/ospfd.c') diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index 6c6dd8de..0a988e0f 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -1172,7 +1172,7 @@ ospf_area_nssa_translator_role_unset (struct ospf *ospf, int ospf_area_export_list_set (struct ospf *ospf, - struct ospf_area *area, char *list_name) + struct ospf_area *area, const char *list_name) { struct access_list *list; list = access_list_lookup (AFI_IP, list_name); @@ -1207,8 +1207,8 @@ ospf_area_export_list_unset (struct ospf *ospf, struct ospf_area * area) } int -ospf_area_import_list_set (struct ospf *ospf, - struct ospf_area *area, char *name) +ospf_area_import_list_set (struct ospf *ospf, struct ospf_area *area, + const char *name) { struct access_list *list; list = access_list_lookup (AFI_IP, name); @@ -1565,7 +1565,7 @@ ospf_nbr_nbma_priority_unset (struct ospf *ospf, struct in_addr nbr_addr) int ospf_nbr_nbma_poll_interval_set (struct ospf *ospf, struct in_addr nbr_addr, - int interval) + unsigned int interval) { struct ospf_nbr_nbma *nbr_nbma; -- cgit v1.2.1