Re: [PATCH iproute2 v2 1/2] devlink: fix format string warning for 32bit targets

2019-06-28 Thread Stephen Hemminger
On Thu, 27 Jun 2019 21:37:18 +0300 Baruch Siach wrote: > 32bit targets define uint64_t as long long unsigned. This leads to the > following build warning: > > devlink.c: In function ‘pr_out_u64’: > devlink.c:1729:11: warning: format ‘%lu’ expects argument of type ‘long > unsigned int’, but argu

[PATCH iproute2 v2 1/2] devlink: fix format string warning for 32bit targets

2019-06-27 Thread Baruch Siach
32bit targets define uint64_t as long long unsigned. This leads to the following build warning: devlink.c: In function ‘pr_out_u64’: devlink.c:1729:11: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]