From f480768d31d21e24d3c02f52917a35c81942e95f Mon Sep 17 00:00:00 2001 From: Tim Duesterhus Date: Sat, 16 Oct 2021 18:24:18 +0200 Subject: [PATCH] CLEANUP: Consistently `unsigned int` for bitfields see 6a0dd733906611dea958cf74b9f51bb16028ae20 Found using GitHub's CodeQL scan. --- include/haproxy/stick_table-t.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/haproxy/stick_table-t.h b/include/haproxy/stick_table-t.h index 3b1f2b3ef..57888e041 100644 --- a/include/haproxy/stick_table-t.h +++ b/include/haproxy/stick_table-t.h @@ -125,8 +125,8 @@ struct stktable_data_type { const char *name; /* name of the data type */ int std_type; /* standard type we can use for this data, STD_T_* */ int arg_type; /* type of optional argument, ARG_T_* */ - int is_array:1; /* this is an array of gpc/gpt */ - int is_local:1; /* this is local only and never learned */ + uint is_array:1; /* this is an array of gpc/gpt */ + uint is_local:1; /* this is local only and never learned */ }; /* stick table keyword type */