summaryrefslogtreecommitdiffstats
path: root/board/esd/du440
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/du440')
-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 3dbb2e135c..8765cc1f3e 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;
}
OpenPOWER on IntegriCloud