[U-Boot] openrisc: Fix a few type cast related warnings

Tom Rini trini at ti.com
Wed Sep 17 02:44:07 CEST 2014


On Tue, Aug 26, 2014 at 01:46:17PM +0300, Vasili Galka wrote:
> 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 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/20140916/8b49ec5a/attachment.pgp>


More information about the U-Boot mailing list