From: Tim Duesterhus Date: Sat, 16 Oct 2021 16:24:18 +0000 (+0200) Subject: CLEANUP: Consistently `unsigned int` for bitfields X-Git-Tag: v2.5-dev11~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f480768d31d21e24d3c02f52917a35c81942e95f;p=thirdparty%2Fhaproxy.git CLEANUP: Consistently `unsigned int` for bitfields see 6a0dd733906611dea958cf74b9f51bb16028ae20 Found using GitHub's CodeQL scan. --- diff --git a/include/haproxy/stick_table-t.h b/include/haproxy/stick_table-t.h index 3b1f2b3ef9..57888e041a 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 */