3f33a52d9e
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/socat.git#80e06e41210df1590634369be246d9f2d71ed6f2
42 lines
1.3 KiB
Diff
42 lines
1.3 KiB
Diff
diff -Naur socat-1.7.4.0-orig/compat.h socat-1.7.4.0/compat.h
|
|
--- socat-1.7.4.0-orig/compat.h 2021-01-03 13:23:22.000000000 -0500
|
|
+++ socat-1.7.4.0/compat.h 2021-01-04 14:07:30.229747181 -0500
|
|
@@ -134,6 +134,8 @@
|
|
# define F_uint64_t "%u"
|
|
# elif HAVE_BASIC_UINT64_T==6
|
|
# define F_uint64_t "%lu"
|
|
+# elif HAVE_BASIC_UINT64_T==8
|
|
+# define F_uint64_t "%llu"
|
|
# else
|
|
# error "HAVE_BASIC_UINT64_T is out of range:" HAVE_BASIC_UINT64_T
|
|
# endif
|
|
@@ -147,7 +149,7 @@
|
|
# elif HAVE_BASIC_INT16_T==3
|
|
# define F_int16_t "%d"
|
|
# elif HAVE_BASIC_INT16_T==5
|
|
-# define F_int16_t "%l"
|
|
+# define F_int16_t "%ld"
|
|
# else
|
|
# error "HAVE_BASIC_INT16_T is out of range:" HAVE_BASIC_INT16_T
|
|
# endif
|
|
@@ -161,7 +163,7 @@
|
|
# elif HAVE_BASIC_INT32_T==3
|
|
# define F_int32_t "%d"
|
|
# elif HAVE_BASIC_INT32_T==5
|
|
-# define F_int32_t "%l"
|
|
+# define F_int32_t "%ld"
|
|
# else
|
|
# error "HAVE_BASIC_INT32_T is out of range:" HAVE_BASIC_INT32_T
|
|
# endif
|
|
@@ -175,7 +177,9 @@
|
|
# elif HAVE_BASIC_INT64_T==3
|
|
# define F_int64_t "%d"
|
|
# elif HAVE_BASIC_INT64_T==5
|
|
-# define F_int64_t "%l"
|
|
+# define F_int64_t "%ld"
|
|
+# elif HAVE_BASIC_INT64_T==7
|
|
+# define F_int64_t "%lld"
|
|
# else
|
|
# error "HAVE_BASIC_INT64_T is out of range:" HAVE_BASIC_INT64_T
|
|
# endif
|