diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-15 04:38:34 -0600 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-27 11:04:01 -0400 |
commit | 6bf6725962ad2d79178c860801ff99f8495b3f44 (patch) | |
tree | 9d11fbafeb83e36b424298ebb552d239d3684204 /lib/vsprintf.c | |
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>
Diffstat (limited to 'lib/vsprintf.c')
-rw-r--r-- | lib/vsprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 7ec758e40fc..b585713b7c5 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -270,7 +270,7 @@ static char *put_dec_full(char *buf, unsigned q) 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; |