From: Willy Tarreau Date: Fri, 1 Jul 2022 17:37:42 +0000 (+0200) Subject: BUILD: debug: fix build issue on clang with previous commit X-Git-Tag: v2.7-dev2~114 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=039972b4e5d81aff61dacf77c5a36570453fbd95;p=thirdparty%2Fhaproxy.git BUILD: debug: fix build issue on clang with previous commit Since the thread_dump_state type changed to uint, the old value in the CAS needs to be the same as well. --- diff --git a/src/debug.c b/src/debug.c index d5ec74fca0..23b72b62f0 100644 --- a/src/debug.c +++ b/src/debug.c @@ -1311,7 +1311,7 @@ struct buffer *thread_dump_buffer = NULL; /* initiates a thread dump */ void ha_thread_dump_all_to_trash() { - unsigned long old; + unsigned int old; while (1) { old = 0;