From: Tom Rini Date: Tue, 16 Sep 2014 20:44:07 -0400 Subject: [U-Boot] openrisc: Fix a few type cast related warnings In-Reply-To: <1409049977-9192-1-git-send-email-vvv444@gmail.com> References: <1409049977-9192-1-git-send-email-vvv444@gmail.com> Message-ID: <20140917004407.GJ25506@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: