mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 16:26:10 +00:00
arm compilation failures.
Ticket: Trivial Reviewed by: Trivial Testing: arm/powerpc/amd64 targets now build Apparently we have a arm build. Who knew? This fixes the compile warnings/errors produced when you compile a arm build with -Werror.
This commit is contained in:
parent
76f69d1c77
commit
b07c4cb33e
@ -1640,7 +1640,7 @@ static void
|
||||
ospf6_send (struct in6_addr *src, struct in6_addr *dst,
|
||||
struct ospf6_interface *oi, struct ospf6_header *oh)
|
||||
{
|
||||
int len;
|
||||
unsigned int len;
|
||||
char srcname[64], dstname[64];
|
||||
struct iovec iovector[2];
|
||||
|
||||
|
@ -1028,7 +1028,7 @@ ospf_vl_set_params (struct ospf_vl_data *vl_data, struct vertex *v)
|
||||
struct ospf_interface *voi;
|
||||
struct listnode *node;
|
||||
struct vertex_parent *vp = NULL;
|
||||
int i;
|
||||
unsigned int i;
|
||||
struct router_lsa *rl;
|
||||
|
||||
voi = vl_data->vl_oi;
|
||||
|
@ -4847,7 +4847,8 @@ static void
|
||||
show_ip_ospf_database_router_links (struct vty *vty,
|
||||
struct router_lsa *rl)
|
||||
{
|
||||
int len, i, type;
|
||||
int len, type;
|
||||
unsigned int i;
|
||||
|
||||
len = ntohs (rl->header.length) - 4;
|
||||
for (i = 0; i < ntohs (rl->links) && len > 0; len -= 12, i++)
|
||||
|
Loading…
Reference in New Issue
Block a user