summaryrefslogtreecommitdiffstats
path: root/cli.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-14 12:10:36 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-14 12:10:36 +0100
commit6f7f9467f76b21d418de8a4dafeac1ec4516e8d5 (patch)
tree16e1bce1646d7c5d91b8ed29e7836bdebf8d98a0 /cli.c
parentb26046f5a83a3933a99166762de03bf8e7a48d76 (diff)
parent625e502a76fe43808a1a054641b59b7a839855cf (diff)
downloadpcitool-6f7f9467f76b21d418de8a4dafeac1ec4516e8d5.tar.gz
pcitool-6f7f9467f76b21d418de8a4dafeac1ec4516e8d5.tar.bz2
pcitool-6f7f9467f76b21d418de8a4dafeac1ec4516e8d5.tar.xz
pcitool-6f7f9467f76b21d418de8a4dafeac1ec4516e8d5.zip
Merge changes
Diffstat (limited to 'cli.c')
-rw-r--r--cli.c2
1 files changed, 1 insertions, 1 deletions
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");
}