[U-Boot] time: fix gcc warnings on MIPS64
Tom Rini
trini at ti.com
Mon Nov 11 20:13:40 CET 2013
On Sat, Nov 09, 2013 at 12:30:14AM +0100, Daniel Schwierzeck wrote:
> Commit 8dfafdde88eb3e71d5569846396ae67a91017232 introduced
> new gcc warnings on MIPS64:
>
> time.c: In function 'tick_to_time':
> time.c:59:2: warning: comparison of distinct pointer types lacks a cast [enabled by default]
> time.c:59:2: warning: passing argument 1 of '__div64_32' from incompatible pointer type [enabled by default]
> In file included from time.c:10:0:
> ./u-boot-mips/include/div64.h:22:17: note: expected 'uint64_t *' but argument is of type 'long long unsigned int *'
> time.c: In function 'usec_to_tick':
> time.c:76:2: warning: comparison of distinct pointer types lacks a cast [enabled by default]
> time.c:76:2: warning: passing argument 1 of '__div64_32' from incompatible pointer type [enabled by default]
> In file included from time.c:10:0:
> ./u-boot-mips/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/master, 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/20131111/fcbd2bbd/attachment.pgp>
More information about the U-Boot
mailing list