Home
last modified time | relevance | path

Searched hist:"71229098 a61c0b8c5abe24c4a644234e1679bca3" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/arch/sandbox/cpu/
H A Deth-raw-os.c71229098a61c0b8c5abe24c4a644234e1679bca3 Sat Nov 28 13:04:40 UTC 2015 Tom Rini <trini@konsulko.com> eth-raw-os.c: Add cast to bind(2) call

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@ni.com>
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>