diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-11-06 12:43:04 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-11-07 12:47:14 +0100 |
commit | c5f4e4d146f6f57a66bd4d7792e8ccf9625d039c (patch) | |
tree | 1c5733767c9e901df75a8add2d1529934d126394 /dhcpv6.c | |
parent | 1e76a19895b5d8b2b5994263625fce35373041e7 (diff) | |
download | passt-c5f4e4d146f6f57a66bd4d7792e8ccf9625d039c.tar passt-c5f4e4d146f6f57a66bd4d7792e8ccf9625d039c.tar.gz passt-c5f4e4d146f6f57a66bd4d7792e8ccf9625d039c.tar.bz2 passt-c5f4e4d146f6f57a66bd4d7792e8ccf9625d039c.tar.lz passt-c5f4e4d146f6f57a66bd4d7792e8ccf9625d039c.tar.xz passt-c5f4e4d146f6f57a66bd4d7792e8ccf9625d039c.tar.zst passt-c5f4e4d146f6f57a66bd4d7792e8ccf9625d039c.zip |
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>
Diffstat (limited to 'dhcpv6.c')
0 files changed, 0 insertions, 0 deletions