projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd6b4be
)
CLEANUP: Consistently `unsigned int` for bitfields
author
Tim Duesterhus
<tim@bastelstu.be>
Sat, 16 Oct 2021 16:24:18 +0000
(18:24 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Mon, 18 Oct 2021 07:13:24 +0000
(09:13 +0200)
see
6a0dd733906611dea958cf74b9f51bb16028ae20
Found using GitHub's CodeQL scan.
include/haproxy/stick_table-t.h
patch
|
blob
|
history
diff --git
a/include/haproxy/stick_table-t.h
b/include/haproxy/stick_table-t.h
index
3b1f2b3
..
57888e0
100644
(file)
--- 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 */