From e3f49e9e7f5e12fd9e0331d9e92cf0316507b82c Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 11 Mar 2011 12:56:00 +0100 Subject: Suppress warning --- cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli.c') diff --git a/cli.c b/cli.c index 0bf6193..6301a01 100644 --- a/cli.c +++ b/cli.c @@ -452,7 +452,7 @@ int ReadRegisterRange(pcilib_t *handle, pcilib_model_t model, const char *bank, } if (i%numbers_per_line == 0) printf("%4lx: ", addr + i); - printf("%0*lx", access * 2, buf[i]); + printf("%0*lx", access * 2, (unsigned long)buf[i]); } printf("\n\n"); } -- cgit v1.2.3