From: Quentin Young Date: Thu, 28 Feb 2019 21:41:21 +0000 (+0000) Subject: vrrpd: fix unsigned - signed cmp X-Git-Tag: base_7.2~330^2~50 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=323cc42ac190c2b087a4b19cea6e9bd580c0dff7;p=mirror%2Ffrr.git vrrpd: fix unsigned - signed cmp For some reason this warning only shows up on armel Signed-off-by: Quentin Young --- diff --git a/vrrpd/vrrp_vty.c b/vrrpd/vrrp_vty.c index 4c474489f4..3f6918539c 100644 --- a/vrrpd/vrrp_vty.c +++ b/vrrpd/vrrp_vty.c @@ -555,7 +555,7 @@ DEFPY(vrrp_vrid_show, for (ALL_LIST_ELEMENTS_RO(ll, ln, vr)) { if (ifn && !strmatch(ifn, vr->ifp->name)) continue; - if (vrid && vrid != vr->vrid) + if ((uint8_t) vrid && vrid != vr->vrid) continue; if (!json)