1 --- socat-1.7.4.0/compat.h.orig 2021-01-03 19:23:22.000000000 +0100
2 +++ socat-1.7.4.0/compat.h 2021-01-05 23:47:10.465452973 +0100
4 # define F_uint64_t "%u"
5 # elif HAVE_BASIC_UINT64_T==6
6 # define F_uint64_t "%lu"
7 +# elif HAVE_BASIC_UINT64_T==8
8 +# define F_uint64_t "%llu"
10 # error "HAVE_BASIC_UINT64_T is out of range:" HAVE_BASIC_UINT64_T
13 # elif HAVE_BASIC_INT16_T==3
14 # define F_int16_t "%d"
15 # elif HAVE_BASIC_INT16_T==5
16 -# define F_int16_t "%l"
17 +# define F_int16_t "%ld"
19 # error "HAVE_BASIC_INT16_T is out of range:" HAVE_BASIC_INT16_T
22 # elif HAVE_BASIC_INT32_T==3
23 # define F_int32_t "%d"
24 # elif HAVE_BASIC_INT32_T==5
25 -# define F_int32_t "%l"
26 +# define F_int32_t "%ld"
28 # error "HAVE_BASIC_INT32_T is out of range:" HAVE_BASIC_INT32_T
31 # elif HAVE_BASIC_INT64_T==3
32 # define F_int64_t "%d"
33 # elif HAVE_BASIC_INT64_T==5
34 -# define F_int64_t "%l"
35 +# define F_int64_t "%ld"
36 +# elif HAVE_BASIC_INT64_T==7
37 +# define F_int64_t "%lld"
39 # error "HAVE_BASIC_INT64_T is out of range:" HAVE_BASIC_INT64_T