tcpdump mailing list archives

Re: [tcpdump] About HAVE_NO_PRINTF_Z


From: Francois-Xavier Le Bail via tcpdump-workers <tcpdump-workers () lists tcpdump org>
Date: Thu, 12 Jan 2023 16:05:18 +0100

--- Begin Message --- From: Francois-Xavier Le Bail <devel.fx.lebail () orange fr>
Date: Thu, 12 Jan 2023 16:05:18 +0100
On 12/01/2023 10:04, Denis Ovsienko wrote:
Do you think it would be
appropriate to use [again] %lu instead of %zu for size_t [...] on systems that don't have %zu [...]?

The problem is that the needed conversion specification is "%lu" on 64 bits system and "%u" on 32 bits system.

--- End Message ---
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Current thread: