]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: quic: Compilation issue on 32-bits systems with quic_may_send_bytes()
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 23 Aug 2023 14:13:54 +0000 (16:13 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Tue, 5 Sep 2023 08:33:56 +0000 (10:33 +0200)
commit3afe54ed5b78646a5bcbda17ac8475031578a806
tree7cf30d6776fec9573f74720662128fc1e6fcc81f
parent86854dd0325b1ae4cbd2d0bed8f7bec3791f56c7
BUILD: quic: Compilation issue on 32-bits systems with quic_may_send_bytes()

quic_may_send_bytes() implementation arrived with this commit:

  MINOR: quic: Amplification limit handling sanitization.

It returns a size_t. So when compared with QUIC_MIN() with qc->path->mtu there is
no need to cast this latted anymore because it is also a size_t.

Detected when compiled with -m32 gcc option.
src/quic_tx.c