summaryrefslogtreecommitdiff
path: root/board/esd/dasa_sim/cmd_dasa_sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/dasa_sim/cmd_dasa_sim.c')
-rw-r--r--board/esd/dasa_sim/cmd_dasa_sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/dasa_sim/cmd_dasa_sim.c b/board/esd/dasa_sim/cmd_dasa_sim.c
index 9edb3afaa5..89a4aaf80a 100644
--- a/board/esd/dasa_sim/cmd_dasa_sim.c
+++ b/board/esd/dasa_sim/cmd_dasa_sim.c
@@ -111,7 +111,7 @@ static void showPci9054 (void)
for (i = 0; i < 4; i++) {
pci_read_config_dword (CFG_PCI9054_DEV_FN,
l * 16 + i * 4,
- &val);
+ (unsigned int *)&val);
printf ("%08x ", val);
}
printf ("\n");