aboutgitcodebugslistschat
path: root/test/lib/git:
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2025-08-29 22:11:31 +0200
committerStefano Brivio <sbrivio@redhat.com>2025-09-11 17:03:45 +0200
commit660cd6907e14a41ad9bc77d317140c70ab416fce (patch)
tree8838202ae6d655376394c201ed76aba8e8899021 /test/lib/git:
parent25f93545e7232a7dab9a022862514778c18bc85e (diff)
downloadpasst-660cd6907e14a41ad9bc77d317140c70ab416fce.tar
passt-660cd6907e14a41ad9bc77d317140c70ab416fce.tar.gz
passt-660cd6907e14a41ad9bc77d317140c70ab416fce.tar.bz2
passt-660cd6907e14a41ad9bc77d317140c70ab416fce.tar.lz
passt-660cd6907e14a41ad9bc77d317140c70ab416fce.tar.xz
passt-660cd6907e14a41ad9bc77d317140c70ab416fce.tar.zst
passt-660cd6907e14a41ad9bc77d317140c70ab416fce.zip
tcp: Cast operands of sequence comparison macros to uint32_t before using them
Otherwise, passing signed types causes automatic promotion of the result of the subtractions as well, which is not what we want, as these macros rely on unsigned 32-bit arithmetic. The next patch introduces a ssize_t operand for SEQ_LE, illustrating the issue. Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Tested-by: Paul Holzinger <pholzing@redhat.com> Reviewed-by: Jon Maloy <jmaloy@redhat.com>
Diffstat (limited to 'test/lib/git:')
0 files changed, 0 insertions, 0 deletions