From: Tom Rini Date: Fri, 15 Jan 2016 08:10:28 -0500 Subject: [U-Boot] [U-Boot,1/4] eth-raw-os.c: Add cast to bind(2) call In-Reply-To: <1448715883-14099-1-git-send-email-trini@konsulko.com> References: <1448715883-14099-1-git-send-email-trini@konsulko.com> Message-ID: <20160115131028.GL3359@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 Sat, Nov 28, 2015 at 08:04:40AM -0500, Tom Rini wrote: > With more recent gcc versions we otherwise get an error like: > note: expected 'const struct sockaddr *' but argument is of type > 'struct sockaddr_in *' > > and the common solution here is to cast, rather than re-work the code. > > Cc: Joe Hershberger > Cc: Simon Glass > Signed-off-by: Tom Rini > Reviewed-by: Bin Meng > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: