From b695a6e5fad47a485d63642f98c86ad758e48002 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 14 Nov 2010 14:24:27 +0100 Subject: [PATCH] [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. --- include/types/pattern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/types/pattern.h b/include/types/pattern.h index 78614bcea..a3d5c3673 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; };