mirror of
https://passt.top/passt
synced 2024-12-22 13:45:32 +00:00
fwd: Squash different-signedness comparison warning
On certain architectures we get a warning about comparison between different signedness integers in fwd_probe_ephemeral(). This is because NUM_PORTS evaluates to an unsigned integer. It's a fixed value, though and we know it will fit in a signed long on anything reasonable, so add a cast to suppress the warning. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
1e76a19895
commit
c5f4e4d146
Loading…
Reference in New Issue
Block a user