From: Willy Tarreau Date: Sun, 14 Nov 2010 13:24:27 +0000 (+0100) Subject: [BUILD] pattern: use 'int' instead of 'int32_t' X-Git-Tag: v1.5-dev8~371 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b695a6e5fad47a485d63642f98c86ad758e48002;p=thirdparty%2Fhaproxy.git [BUILD] pattern: use 'int' instead of 'int32_t' Ross West reported that int32_t breaks compilation on FreeBSD. Since an int is 32-bit on all supported platforms and we already rely on that, change the type. --- diff --git a/include/types/pattern.h b/include/types/pattern.h index 78614bceae..a3d5c3673b 100644 --- a/include/types/pattern.h +++ b/include/types/pattern.h @@ -54,7 +54,7 @@ enum { union pattern_arg_data { struct in_addr ip; /* used for ipv4 type */ uint32_t integer; /* used for unsigned 32bits integer type */ - int32_t sinteger; /* used for signed 32bits integer type */ + int sinteger; /* used for signed 32bits integer type */ struct chunk str; };