]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
time: fix gcc warnings on MIPS64
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 8 Nov 2013 23:30:14 +0000 (00:30 +0100)
committerTom Rini <trini@ti.com>
Mon, 11 Nov 2013 14:46:41 +0000 (09:46 -0500)
commitd770f3961f44295509ad23b7f056d9a37b947601
treea5c33c7bdbe4012a89301c0570fb3f3ca387ad49
parent60390d70be7336b2441f5f69bd4f5affa83d064d
time: fix gcc warnings on MIPS64

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@gmail.com>
lib/time.c