From 1fc075663b95a39279d7c5739e279c47231f70d3 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 16 Dec 2011 16:44:06 +0100 Subject: MEDIUM: pattern: change the pattern data integer from unsigned to signed Till now the pattern data integer type was unsigned without any particular reason. In order to make ACLs use it, we must switch it to signed int instead. --- include/types/pattern.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/types/pattern.h b/include/types/pattern.h index 9b4e340..da383ba 100644 --- a/include/types/pattern.h +++ b/include/types/pattern.h @@ -70,7 +70,7 @@ struct pattern_arg { union pattern_data { struct in_addr ip; /* used for ipv4 type */ struct in6_addr ipv6; /* used for ipv6 type */ - uint32_t integer; /* used for unsigned 32bits integer type */ + int integer; /* used for unsigned 32bits integer type */ struct chunk str; /* used for char string type or buffers*/ }; -- 1.7.2.3