From: Wolfgang Denk Date: Sun, 24 Oct 2010 13:37:12 +0000 (+0200) Subject: lite5200b_PM: fix compile warning X-Git-Tag: v2010.12-rc1~27 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bc5e1701f39cc6118f364d09d711c0406757693c;p=oweals%2Fu-boot.git lite5200b_PM: fix compile warning Fix warning: icecube.c: In function 'lite5200b_wakeup': icecube.c:83: warning: format '%08lx' expects type 'long unsigned int', but argument 2 has type 'void (*)(void)' Signed-off-by: Wolfgang Denk --- diff --git a/board/icecube/icecube.c b/board/icecube/icecube.c index 47b2195557..a9e4448f4d 100644 --- a/board/icecube/icecube.c +++ b/board/icecube/icecube.c @@ -80,7 +80,7 @@ void lite5200b_wakeup(void) /* jump back to linux kernel code */ linux_wakeup = SAVED_ADDR; printf("\n\nLooks like we just woke, transferring control to 0x%08lx\n", - linux_wakeup); + (unsigned long)linux_wakeup); linux_wakeup(); } #else