]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: debug: fix build issue on clang with previous commit
authorWilly Tarreau <w@1wt.eu>
Fri, 1 Jul 2022 17:37:42 +0000 (19:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Jul 2022 17:37:42 +0000 (19:37 +0200)
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

index d5ec74fca0bf2d5597f35121cbba45d04596a743..23b72b62f07b625825e4f91027e6f09ee97d5de1 100644 (file)
@@ -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;