]> git.ipfire.org Git - thirdparty/pciutils.git/commit
lspci: Replace unsigned long long type by u64 and %llx format by PCI_U64_FMT_X
authorPali Rohár <pali@kernel.org>
Sun, 26 Dec 2021 21:11:51 +0000 (22:11 +0100)
committerMartin Mares <mj@ucw.cz>
Thu, 10 Feb 2022 11:58:17 +0000 (12:58 +0100)
commit6811edb82791b1cc18889062a226522b7cdd74a8
tree7a3227c143234203a4b330b778651465bca05cd7
parentb5bbc1adb18bffb03f76d933ac4ab971e04e385b
lspci: Replace unsigned long long type by u64 and %llx format by PCI_U64_FMT_X

pciutils already provides and uses u64 type together with PCI_U64_FMT_X
format macro for printing hex value of this type. So use u64 and
PCI_U64_FMT_X also on other few remaining places.

This change fixes printing hexadecimal 64-bit numbers by lspci on Window
systems independently of used compiler (MinGW or MSVC).
ls-caps.c
ls-ecaps.c