]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: debug: properly use long long instead of long for the thread ID
authorWilly Tarreau <w@1wt.eu>
Fri, 1 May 2020 10:26:03 +0000 (12:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 May 2020 10:26:03 +0000 (12:26 +0200)
commitf0e5da20e1a6e9b532f7de66079da5fa53e9d01c
tree227bce67be314094c2093f6dc86141cd0190937e
parentff64d3b027d968a29b5bac55121bbce591fe54b2
BUG/MINOR: debug: properly use long long instead of long for the thread ID

I changed my mind twice on this one and pushed after the last test with
threads disabled, without re-enabling long long, causing this rightful
build warning.

This needs to be backported if the previous commit ff64d3b027 ("MINOR:
threads: export the POSIX thread ID in panic dumps") is backported as
well.
include/common/hathreads.h
src/debug.c