From 52e32b2c9f0e5ac7cfb31fd2306e6536340955e1 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 17 Nov 2015 18:23:48 +0100 Subject: Support for 64-bit registes --- pcitool/cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pcitool/cli.c') diff --git a/pcitool/cli.c b/pcitool/cli.c index 90f11d4..8943347 100644 --- a/pcitool/cli.c +++ b/pcitool/cli.c @@ -753,9 +753,9 @@ void ViewInfo(pcilib_t *handle, pcilib_register_t reg, size_t id) { printf(" Value aliases :"); for (i = 0; vnames[i].name; i++) { if (i) printf(","); - printf(" %s = %u", vnames[i].name, vnames[i].value); + printf(" %s = %lu", vnames[i].name, vnames[i].value); if (vnames[i].min != vnames[i].max) - printf(" (%u - %u)", vnames[i].min, vnames[i].max); + printf(" (%lu - %lu)", vnames[i].min, vnames[i].max); } printf("\n"); } else if (v->api == &pcilib_transform_view_api) { -- cgit v1.2.3