]> www.infradead.org Git - users/hch/nvme-cli.git/commit
MAINT: Fix format compile warning error on 32 bit system
authorTokunori Ikegami <ikegami.t@gmail.com>
Wed, 27 Nov 2019 15:53:04 +0000 (00:53 +0900)
committerKeith Busch <kbusch@kernel.org>
Tue, 3 Dec 2019 21:24:01 +0000 (14:24 -0700)
commit1a849362766155c61e3a482559b051d3bcf3a921
treef987b80feea7ca36cfbb7ab56a2633f892ae4db8
parent0f5bd0d173fbfdf5a79ff02488dda18d7df214ca
MAINT: Fix format compile warning error on 32 bit system

Since the following %lx format warning error was caused on 64 bit system.

  error: format ‘%lx’ expects argument of type ‘long unsigned int’,
  but argument 2 has type ‘long long unsigned int’ [-Werror=format=]

So fix this by using %" PRIx64 " format instead as generic.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
nvme-print.c