The hlen member of raw_frag_vec is used in operation/function that wait for unsigned value. So it need to be set as size_t.
Signed-off-by: LABBE Corentin <clabbe.montj...@gmail.com> --- net/ipv4/raw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index 561cd4b..a00aaed 100644 --- a/net/ipv4/raw.c +++ b/net/ipv4/raw.c @@ -86,7 +86,7 @@ struct raw_frag_vec { struct icmphdr icmph; char c[1]; } hdr; - int hlen; + size_t hlen; }; static struct raw_hashinfo raw_v4_hashinfo = { -- 2.4.10 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html