projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19ea467
)
Use uint64_t instead of u64 in put_dec()
author
Simon Glass
<sjg@chromium.org>
Wed, 15 Oct 2014 10:38:34 +0000
(
04:38
-0600)
committer
Tom Rini
<trini@ti.com>
Mon, 27 Oct 2014 15:04:01 +0000
(11:04 -0400)
Use the correct type required by do_div().
Signed-off-by: Simon Glass <sjg@chromium.org>
lib/vsprintf.c
patch
|
blob
|
history
diff --git
a/lib/vsprintf.c
b/lib/vsprintf.c
index 7ec758e40fc5ba3530376f74c893e520b23c7118..b585713b7c55c78a598b165e547352ba7719c182 100644
(file)
--- 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, u
64
num)
+static noinline char *put_dec(char *buf, u
int64_t
num)
{
while (1) {
unsigned rem;