From: Simon Glass Date: Wed, 15 Oct 2014 10:38:34 +0000 (-0600) Subject: Use uint64_t instead of u64 in put_dec() X-Git-Tag: v2015.01-rc1~114 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6bf6725962ad2d79178c860801ff99f8495b3f44;p=u-boot Use uint64_t instead of u64 in put_dec() Use the correct type required by do_div(). Signed-off-by: Simon Glass --- 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;