libnl/lib
Коренберг Марк (дома) 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
..
cli Support plug qdisc - queue traffic until explicit release 2012-02-14 12:02:04 +01:00
fib_lookup doc: documentation restructuring 2012-05-10 12:03:59 +02:00
genl Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
netfilter "%llu" replaced with "%" PRIu64 2012-08-30 03:19:04 +06:00
route "%llu" replaced with "%" PRIu64 2012-08-30 03:19:04 +06:00
.gitignore Added lex.yy.c to .gitignore 2012-08-30 03:19:04 +06:00
addr.c nl_addr_parse handling of 'default', 'any', and 'all' 2012-08-29 12:17:24 +02:00
attr.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
cache.c Fix for dumping objects to a buffer instead of file descriptor 2012-05-18 15:03:46 +02:00
cache_mngr.c doc: documentation restructuring 2012-05-10 12:03:59 +02:00
cache_mngt.c doc: documentation restructuring 2012-05-10 12:03:59 +02:00
data.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
error.c Support for NLM_F_INTR 2011-07-14 10:51:49 +02:00
handlers.c doc: documentation restructuring 2012-05-10 12:03:59 +02:00
Makefile.am Run-time version information is now available 2012-08-30 03:19:04 +06:00
msg.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
nl.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
object.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
socket.c doc: documentation restructuring 2012-05-10 12:03:59 +02:00
utils.c Fix build warning after const char ** convert 2012-08-29 12:05:51 +02:00
version.c Run-time version information is now available 2012-08-30 03:19:04 +06:00