[U-Boot] [PATCH 1/4] eth-raw-os.c: Add cast to bind(2) call

Joe Hershberger joe.hershberger at gmail.com
Mon Nov 30 23:13:21 CET 2015


On Sat, Nov 28, 2015 at 7:04 AM, Tom Rini <trini at konsulko.com> 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 <joe.hershberger at ni.com>
> Cc: Simon Glass <sjg at chromium.org>
> Signed-off-by: Tom Rini <trini at konsulko.com>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list