1
0
Fork 0

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>
utp
Simon Glass 2014-10-15 04:38:34 -06:00 committed by Tom Rini
parent 19ea4678ca
commit 6bf6725962
1 changed files with 1 additions and 1 deletions

View File

@ -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;