Re: [dpdk-dev] [PATCH v9 05/10] pci: fix format warning on Windows

2020-06-25 Thread Thomas Monjalon
24/06/2020 10:28, tal...@mellanox.com: > From: Tal Shnaiderman > > the struct rte_pci_addr defines domain as uint32_t variable however > the PCI_PRI_FMT macro used for logging the struct sets the format > of domain to uint16_t. > > The mismatch causes the following warning messages > in Windows

[dpdk-dev] [PATCH v9 05/10] pci: fix format warning on Windows

2020-06-24 Thread talshn
From: Tal Shnaiderman the struct rte_pci_addr defines domain as uint32_t variable however the PCI_PRI_FMT macro used for logging the struct sets the format of domain to uint16_t. The mismatch causes the following warning messages in Windows clang build: format specifies type 'unsigned short' bu