[U-Boot] [U-Boot, 2/4] lib: vsprintf.c: replace NUM_TYPE with s64/u64 types
Tom Rini
trini at ti.com
Thu Sep 27 18:22:20 CEST 2012
On Sun, Sep 16, 2012 at 06:55:04AM -0000, Daniel Schwierzeck wrote:
> From: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
>
> This fixes warnings when compiling with ELDK-5.2.1 for MIPS64:
>
> vsprintf.c: In function 'put_dec':
> vsprintf.c:258:9: warning: comparison of distinct pointer types lacks a cast [enabled by default]
> vsprintf.c:258:3: warning: passing argument 1 of '__div64_32' from incompatible pointer type [enabled by default]
> include/div64.h:22:17: note: expected 'uint64_t *' but argument is of type 'long long unsigned int *'
>
> Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120927/b50a0086/attachment.pgp>
More information about the U-Boot
mailing list