[dpdk-dev] [PATCH 0/2] use %z for formatting

Stephen Hemminger stephen at networkplumber.org
Thu Feb 15 23:25:48 CET 2018


Better to use %z and avoid any 32 bit platform woes;
and not cast unnecessarily

Stephen Hemminger (2):
  pci: use %z to format size_t
  eal: use %zu to format size_t

 lib/librte_eal/linuxapp/eal/eal_memory.c |  8 ++++----
 lib/librte_pci/rte_pci.c                 | 11 ++++++-----
 2 files changed, 10 insertions(+), 9 deletions(-)

-- 
2.15.1



More information about the dev mailing list