From 039972b4e5d81aff61dacf77c5a36570453fbd95 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 1 Jul 2022 19:37:42 +0200 Subject: [PATCH] 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. --- src/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug.c b/src/debug.c index d5ec74fca..23b72b62f 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;