summaryrefslogtreecommitdiff
path: root/lib/vsprintf.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-15 04:38:34 -0600
committerTom Rini <trini@ti.com>2014-10-27 11:04:01 -0400
commit6bf6725962ad2d79178c860801ff99f8495b3f44 (patch)
tree9d11fbafeb83e36b424298ebb552d239d3684204 /lib/vsprintf.c
parent19ea4678ca5ce4c3a626039ed7642d4e0fbfdee1 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index 7ec758e40f..b585713b7c 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;