From c7450f9a8b339cf7445e658043d3e5f474b62126 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 11 Oct 2016 18:17:28 +0200 Subject: zebra: use unsigned args for *addattr [based on a patch by Paul Jakma changing it to size_t] Signed-off-by: David Lamparter --- zebra/zebra_fpm_netlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zebra/zebra_fpm_netlink.c') diff --git a/zebra/zebra_fpm_netlink.c b/zebra/zebra_fpm_netlink.c index 02880586b..654329860 100644 --- a/zebra/zebra_fpm_netlink.c +++ b/zebra/zebra_fpm_netlink.c @@ -323,7 +323,7 @@ static int netlink_route_info_encode (netlink_route_info_t *ri, char *in_buf, size_t in_buf_len) { - int bytelen; + size_t bytelen; int nexthop_num = 0; size_t buf_offset; netlink_nh_info_t *nhi; -- cgit v1.2.3