summaryrefslogtreecommitdiff
path: root/common/cmd_cplbinfo.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-12 06:02:55 -0400
committerMike Frysinger <vapier@gentoo.org>2009-01-28 13:27:28 -0500
commitfe033ad6d0883063fe857237abb9436fab03208c (patch)
treee635372f14fe4e287311d6e75fd3ada63b7b41e0 /common/cmd_cplbinfo.c
parent1f4a3bb50343719c434d7e2541a2f86480a6d25c (diff)
Blackfin: fixup misc warnings such as printf's and missing casts
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/cmd_cplbinfo.c')
-rw-r--r--common/cmd_cplbinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_cplbinfo.c b/common/cmd_cplbinfo.c
index 629e6a9389e..56e70d6155a 100644
--- a/common/cmd_cplbinfo.c
+++ b/common/cmd_cplbinfo.c
@@ -26,11 +26,11 @@ static const char *cplb_page_size(uint32_t data)
*/
static void show_cplb_table(uint32_t *addr, uint32_t *data)
{
- size_t i;
+ int i;
printf(" Address Data Size Valid Locked\n");
for (i = 1; i <= 16; ++i) {
printf(" %2i 0x%p 0x%05X %s %c %c\n",
- i, *addr, *data,
+ i, (void *)*addr, *data,
cplb_page_size(*data),
(*data & CPLB_VALID ? 'Y' : 'N'),
(*data & CPLB_LOCK ? 'Y' : 'N'));