diff options
author | shemminger <shemminger> | 2005-07-08 22:08:47 +0000 |
---|---|---|
committer | shemminger <shemminger> | 2005-07-08 22:08:47 +0000 |
commit | 737f15f6da0ed7512220f6fa5244a39777de4e0d (patch) | |
tree | eef4dc3c2c14a39e78663172503b23954ed81ae4 /ip | |
parent | f332d169246447bd5e258ac03d5ee840a70adb1e (diff) |
Thomas's ematch fixes for lex.
Fix more GCC signedness warnings.
Diffstat (limited to 'ip')
-rw-r--r-- | ip/ipneigh.c | 2 | ||||
-rw-r--r-- | ip/xfrm_state.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ip/ipneigh.c b/ip/ipneigh.c index e8ab2912..5346b8bd 100644 --- a/ip/ipneigh.c +++ b/ip/ipneigh.c @@ -166,7 +166,7 @@ static int ipneigh_modify(int cmd, int flags, int argc, char **argv) addattr_l(&req.n, sizeof(req), NDA_DST, &dst.data, dst.bytelen); if (lla && strcmp(lla, "null")) { - __u8 llabuf[16]; + char llabuf[16]; int l; l = ll_addr_a2n(llabuf, sizeof(llabuf), lla); diff --git a/ip/xfrm_state.c b/ip/xfrm_state.c index 6757c741..c3a91140 100644 --- a/ip/xfrm_state.c +++ b/ip/xfrm_state.c @@ -140,7 +140,7 @@ static int xfrm_algo_parse(struct xfrm_algo *alg, enum xfrm_attr_type_t type, for (i = - (plen % 2), j = 0; j < len; i += 2, j++) { char vbuf[3]; - char val; + __u8 val; vbuf[0] = i >= 0 ? p[i] : '0'; vbuf[1] = p[i + 1]; |