]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stktable: fix potential build issue in smp_to_stkey
authorAurelien DARRAGON <adarragon@haproxy.com>
Fri, 10 Jan 2025 22:56:34 +0000 (23:56 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Mon, 13 Jan 2025 08:45:40 +0000 (09:45 +0100)
commitf399dbf70c658107ab0a94a403c26547f6ecea15
tree3fa03d45fb37eb2dc70d9f77651ad2190ae8236d
parent4a5d82a97d9269eb17f9b92af6c8a9cd904705cd
MINOR: stktable: fix potential build issue in smp_to_stkey

smp_to_stkey() uses an ambiguous cast from 64bit integer to 32 bit
unsigned integer. While it is intended, let's make the cast less
ambiguous by explicitly casting the right part of the assignment to the
proper type.

This should fix GH #2838
src/stick_table.c