commit | 6bf6725962ad2d79178c860801ff99f8495b3f44 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Oct 15 04:38:34 2014 -0600 |
committer | Tom Rini <trini@ti.com> | Mon Oct 27 11:04:01 2014 -0400 |
tree | 9d11fbafeb83e36b424298ebb552d239d3684204 | |
parent | 19ea4678ca5ce4c3a626039ed7642d4e0fbfdee1 [diff] |
Use uint64_t instead of u64 in put_dec() Use the correct type required by do_div(). Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 7ec758e..b585713 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c
@@ -270,7 +270,7 @@ return buf; } /* No inlining helps gcc to use registers better */ -static noinline char *put_dec(char *buf, u64 num) +static noinline char *put_dec(char *buf, uint64_t num) { while (1) { unsigned rem;