]> www.infradead.org Git - users/sagi/libnvme.git/commit
examples: Fix printf format warnings on 32-bit
authorJeremy Kerr <jk@codeconstruct.com.au>
Wed, 8 Jun 2022 05:18:55 +0000 (13:18 +0800)
committerJeremy Kerr <jk@codeconstruct.com.au>
Wed, 8 Jun 2022 05:22:05 +0000 (13:22 +0800)
commit9037dd00be31092c5a650d0f26f37bdc74609361
tree04259586bd89afe1bacbc785ada7e12149ba47df
parent2657a4154575b469c45337a37b43fce3ef18f9a2
examples: Fix printf format warnings on 32-bit

We have a few warnings from mismatched printf format specifiers on
32-bit builds. Use PRIu64 for uint64_t, and %z for size_t.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
examples/display-tree.c
examples/telemetry-listen.c