[U-Boot] [PATCH] 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 wd@denx.de --- board/icecube/icecube.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/board/icecube/icecube.c b/board/icecube/icecube.c index 47b2195..a9e4448 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

In message 1287928052-28981-1-git-send-email-wd@denx.de you wrote:
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 wd@denx.de
board/icecube/icecube.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied.
Best regards,
Wolfgang Denk
participants (1)
-
Wolfgang Denk