]> git.pld-linux.org Git - packages/socat.git/blob - int64.patch
up to 1.7.4.0
[packages/socat.git] / int64.patch
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
3 @@ -134,6 +134,8 @@
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"
9  #  else
10  #    error "HAVE_BASIC_UINT64_T is out of range:" HAVE_BASIC_UINT64_T
11  #  endif
12 @@ -147,7 +149,7 @@
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"
18  #  else
19  #    error "HAVE_BASIC_INT16_T is out of range:" HAVE_BASIC_INT16_T
20  #  endif
21 @@ -161,7 +163,7 @@
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"
27  #  else
28  #    error "HAVE_BASIC_INT32_T is out of range:" HAVE_BASIC_INT32_T
29  #  endif
30 @@ -175,7 +177,9 @@
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"
38  #  else
39  #    error "HAVE_BASIC_INT64_T is out of range:" HAVE_BASIC_INT64_T
40  #  endif
This page took 0.06797 seconds and 3 git commands to generate.