Skip to content

Commit b695a6e

Browse files
committed
[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.
1 parent 0a6b1fd commit b695a6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/types/pattern.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ enum {
5454
union pattern_arg_data {
5555
struct in_addr ip; /* used for ipv4 type */
5656
uint32_t integer; /* used for unsigned 32bits integer type */
57-
int32_t sinteger; /* used for signed 32bits integer type */
57+
int sinteger; /* used for signed 32bits integer type */
5858
struct chunk str;
5959
};
6060

0 commit comments

Comments
 (0)