]> git.kaiwu.me - haproxy.git/commit
BUILD: task: Fix build when no 8B CAS is available at all master
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 9 Jul 2026 14:10:17 +0000 (16:10 +0200)
committerOlivier Houchard <cognet@ci0.org>
Thu, 9 Jul 2026 14:05:54 +0000 (16:05 +0200)
commit0a11d75c1bcea6a41f918c650ce44c8d6cf9f0de
tree10bf32cb1aa10f5e8165ff1449968f5e39daddbd
parentcfe708d049a128778b599c9954825d860772b78a
BUILD: task: Fix build when no 8B CAS is available at all

clang (rightfully) complains that when neither HA_CAS_IS_8B nor
HA_HAVE_CAS_DW is defined, there is a mismatch when we're doing a CAS,
as we're mixing unsigned int and int.
To fix that, just turn old_state to an unsigned int, as it should be.

This should fix github issue #3441
include/haproxy/task.h