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.
This commit is contained in:
Willy Tarreau 2022-07-01 19:37:42 +02:00
parent 00c27b50c0
commit 039972b4e5

View 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;