commit | 04d1f97f2e6e471d63c7d56dce7bd8472eb8fbfb | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Mon Jun 06 15:10:04 2016 -0500 |
committer | Jeremy Kerr <jk@ozlabs.org> | Fri Jun 17 14:07:19 2016 +1000 |
tree | 3a943518ac94e1572900aad59b163572a6da8681 | |
parent | 5a4424a13b4d48504c0b00310c2b7291d80a6643 [diff] |
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>