diff options
author | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-03-14 12:10:36 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-03-14 12:10:36 +0100 |
commit | 6f7f9467f76b21d418de8a4dafeac1ec4516e8d5 (patch) | |
tree | 16e1bce1646d7c5d91b8ed29e7836bdebf8d98a0 /cli.c | |
parent | b26046f5a83a3933a99166762de03bf8e7a48d76 (diff) | |
parent | 625e502a76fe43808a1a054641b59b7a839855cf (diff) | |
download | pcitool-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); } |