libnl/lib/netfilter
Коренберг Марк (дома) ab15d06d13 "%llu" replaced with "%" PRIu64
On some architectures, uint64_t is defined as:

typedef unsigned long long int __u64;

on another architectures as:

typedef unsigned long int __u64;

So, according to man 3 printf,
uint64_t should be printed as "%llu" on some architectures, and as "%lu" on another. The same for scanf.

To eliminate that challenge, there is inttypes.h, in which appropriate constants
are defined for current architecture.

32-bit types (and even 16 and 8 bit types) should be printed using such constants if
printed variable defined as uint_XXXt or intXXXt type. But in reality 32-bit and less
types does not gain run-time error (except in scanf), because they pushed to stack as
32-bit values at least. So, I decide not to fix that.
2012-08-30 03:19:04 +06:00
..
ct.c FTBFS with musl libc: Missing includes 2012-05-13 11:18:28 +02:00
ct_obj.c "%llu" replaced with "%" PRIu64 2012-08-30 03:19:04 +06:00
log.c Add internal wait_for_ack() which only waits for ACK if !NL_NO_AUTO_ACK 2008-10-20 13:12:13 +02:00
log_msg.c FTBFS with musl libc: Missing includes 2012-05-13 11:18:28 +02:00
log_msg_obj.c Remove old line counting while dumping 2008-05-23 23:45:14 +02:00
log_obj.c constify struct trans_tbl 2010-11-17 16:09:08 +01:00
netfilter.c constify struct trans_tbl 2010-11-17 16:09:08 +01:00
nfnl.c doc: documentation restructuring 2012-05-10 12:03:59 +02:00
queue.c libnl: nfqueue: add nfqueue specific socket allocation function 2008-10-23 13:59:40 +02:00
queue_msg.c FTBFS with musl libc: Missing includes 2012-05-13 11:18:28 +02:00
queue_msg_obj.c constify struct trans_tbl 2010-11-17 16:09:08 +01:00
queue_obj.c constify struct trans_tbl 2010-11-17 16:09:08 +01:00