diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2023-12-24 18:13:43 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-12-27 19:29:45 +0100 |
commit | fd29d62a9d4e0359f27db0df11803326150e9e56 (patch) | |
tree | 326eff5a48a45b286534da350dd4b3ce2a4ac6f8 /tcp_splice.c | |
parent | 60925b8b4ed8c597329c6c4933069374e66642b3 (diff) | |
download | passt-fd29d62a9d4e0359f27db0df11803326150e9e56.tar passt-fd29d62a9d4e0359f27db0df11803326150e9e56.tar.gz passt-fd29d62a9d4e0359f27db0df11803326150e9e56.tar.bz2 passt-fd29d62a9d4e0359f27db0df11803326150e9e56.tar.lz passt-fd29d62a9d4e0359f27db0df11803326150e9e56.tar.xz passt-fd29d62a9d4e0359f27db0df11803326150e9e56.tar.zst passt-fd29d62a9d4e0359f27db0df11803326150e9e56.zip |
tcp: Cast timeval fields to unsigned long long for printing
On x32, glibc defines time_t and suseconds_t (the latter, also known as
__syscall_slong_t) as unsigned long long, whereas "everywhere else",
including x86_64 and i686, those are unsigned long.
See also https://sourceware.org/bugzilla/show_bug.cgi?id=16437 for
all the gory details.
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp_splice.c')
0 files changed, 0 insertions, 0 deletions