diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2016-10-11 18:17:28 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-10-18 14:39:21 +0200 |
commit | c7450f9a8b339cf7445e658043d3e5f474b62126 (patch) | |
tree | a263ffd6e03f487c743d5bf3f6ed96b42c91e218 /zebra/zebra_fpm_netlink.c | |
parent | tests: fix MIN()-related sign warnings (diff) | |
download | frr-c7450f9a8b339cf7445e658043d3e5f474b62126.tar.xz frr-c7450f9a8b339cf7445e658043d3e5f474b62126.zip |
zebra: use unsigned args for *addattr
[based on a patch by Paul Jakma changing it to size_t]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_fpm_netlink.c')
-rw-r--r-- | zebra/zebra_fpm_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |