]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: compiler: prefer char * over void * for pointer arithmetic
authorBen Kallus <benjamin.p.kallus.gr@dartmouth.edu>
Sun, 20 Jul 2025 16:48:07 +0000 (12:48 -0400)
committerWilly Tarreau <w@1wt.eu>
Fri, 25 Jul 2025 15:54:32 +0000 (17:54 +0200)
commitd3b46cca7b208b98fcd090043f8b4af4dd204de1
tree4443d1c89e3fa96cc0076d847127670a9a0d8cc3
parent75e480d10766fec1fd0e1365d9836f4b29f6cc53
CLEANUP: compiler: prefer char * over void * for pointer arithmetic

This patch changes two instances of pointer arithmetic on void *
to use char * instead, to avoid UB. This is essentially to please
UB analyzers, though.
include/haproxy/compiler.h