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:28:32 +0000 (12:28 +0200)
commitc7e86ea2f02c669961a2bd8f7bfc137deaef3cb6
tree732fd2fee9492fc75566265d645fe27103a07bf4
parent455004565dde6d8a3a386348f86a0e006d856d18
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.

(cherry picked from commit f0e5da20e1a6e9b532f7de66079da5fa53e9d01c)
Signed-off-by: Willy Tarreau <w@1wt.eu>
include/common/hathreads.h
src/debug.c