]> git.sur5r.net Git - u-boot/commit
openrisc: Fix a few type cast related warnings
authorVasili Galka <vvv444@gmail.com>
Tue, 26 Aug 2014 10:46:17 +0000 (13:46 +0300)
committerTom Rini <trini@ti.com>
Mon, 15 Sep 2014 17:32:56 +0000 (13:32 -0400)
commit9f680d2d978a9ab488b210ceeb90354308a0b750
treeff2f50b33b54b82f42079905f8b98f09990f3042
parent5d69a5d178a1fc3874b8d18e5be3e520f6acaca5
openrisc: Fix a few type cast related warnings

Use size_t type for positive offsets instead of the loff_t type. The
later is defined as long long, which is larger than the pointer type
on OpenRISC architecture and therefore the following warning was
generated:

"warning: cast to pointer from integer of different size"

Signed-off-by: Vasili Galka <vvv444@gmail.com>
drivers/net/ethoc.c