]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Compilation fix for quic_rx_packet_refinc()
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 8 Dec 2021 14:24:15 +0000 (15:24 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 8 Dec 2021 14:30:02 +0000 (15:30 +0100)
commita842ca1fcab63405c4894c8973fef6885af3edb2
treee0a24fec101a52f9884c33116fea878aa8450bb6
parentf3b0ba7dc946aceb7b4e643f8787465fcca8869a
MINOR: quic: Compilation fix for quic_rx_packet_refinc()

This was reported by the CI wich clang as compilator.

    In file included from src/ssl_sock.c:80:
    include/haproxy/xprt_quic.h:1100:50: error: passing 'int *' to parameter of
    type 'unsigned int *' converts between pointers to integer types with
    different sign [-Werror,-Wpointer-sign]
        } while (refcnt && !HA_ATOMIC_CAS(&pkt->refcnt, &refcnt, refcnt - 1));
                                                        ^~~~~~~
include/haproxy/xprt_quic.h