]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: tree-wide: mark a few numeric constants as explicitly long long
authorWilly Tarreau <w@1wt.eu>
Fri, 28 Jan 2022 08:39:24 +0000 (09:39 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Jan 2022 18:04:02 +0000 (19:04 +0100)
commit8f0b4e97e78f62eac43e240155192131e7c6d072
tree6b25565356ef30cbeef3a2ac8f754d07b6ea9a04
parent31a8306b932a78805d9b5018e5897ef8965eba12
BUILD: tree-wide: mark a few numeric constants as explicitly long long

At a few places in the code the switch/case ond flags are tested against
64-bit constants without explicitly being marked as long long. Some
32-bit compilers complain that the constant is too large for a long, and
other likely always use long long there. Better fix that as it's uncertain
what others which do not complain do. It may be backported to avoid doubts
on uncommon platforms if needed, as it touches very few areas.
include/haproxy/h1.h
include/haproxy/intops.h
src/h1_htx.c