]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Use uint64_t instead of u64 in put_dec()
authorSimon Glass <sjg@chromium.org>
Wed, 15 Oct 2014 10:38:34 +0000 (04:38 -0600)
committerTom 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

index 7ec758e40fc5ba3530376f74c893e520b23c7118..b585713b7c55c78a598b165e547352ba7719c182 100644 (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;