From: Willy Tarreau Date: Fri, 16 Dec 2011 15:44:06 +0000 (+0100) Subject: MEDIUM: pattern: change the pattern data integer from unsigned to signed X-Git-Tag: v1.5-dev8~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b666bc7d51567ed0cb0620606fabbc396c0daedf;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/include/types/pattern.h b/include/types/pattern.h index 9b4e3405d9..da383bad79 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*/ };