Avoid signed and unsigned comparison

The 'NLMSG_OK' macro uses a _u32 struct entry for comparison but the
length from recv is signed. Passing the signed type directly into the
macro causes a signed and unsigned comparison warning.

Fixes openbmc/inarp#3.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
1 file changed
tree: 3a943518ac94e1572900aad59b163572a6da8681
  1. inarp.c
  2. Makefile