summaryrefslogtreecommitdiff
path: root/board/esd/du440/du440.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-07-10 09:58:06 +0200
committerStefan Roese <sr@denx.de>2008-07-10 09:58:06 +0200
commitb002144e1dc21374b1ef5281fe6b5d014af96650 (patch)
tree896b31b7743d5d8a736e1f807bf32a95ec117f18 /board/esd/du440/du440.c
parent5d812b8b4ad9667c77a5bf92b4ba81699abc9fc3 (diff)
downloadu-boot-imx-b002144e1dc21374b1ef5281fe6b5d014af96650.zip
u-boot-imx-b002144e1dc21374b1ef5281fe6b5d014af96650.tar.gz
u-boot-imx-b002144e1dc21374b1ef5281fe6b5d014af96650.tar.bz2
ppc4xx: Fix printf format warnings now visible with the updated format check
This patch fixes ppc4xx related printf format warning. Those warnings are now visible since patch dc4b0b38d4aadf08826f6c31270f1eecd27964fd [Fix printf errors.] by Andrew Klossner has been applied. Thanks, this is really helpful. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/esd/du440/du440.c')
-rw-r--r--board/esd/du440/du440.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/esd/du440/du440.c b/board/esd/du440/du440.c
index 3dbb2e1..8765cc1 100644
--- a/board/esd/du440/du440.c
+++ b/board/esd/du440/du440.c
@@ -956,9 +956,9 @@ int do_time(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
ret = run_command (cmd, 0);
end = get_ticks();
- printf("ticks=%d\n", (ulong)(end - start));
+ printf("ticks=%ld\n", (ulong)(end - start));
us = (ulong)((1000L * (end - start)) / (get_tbclk() / 1000));
- printf("usec=%d\n", us);
+ printf("usec=%ld\n", us);
return ret;
}