diff options
| author | Tom Rini <[email protected]> | 2015-11-28 08:04:40 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2016-01-15 08:09:47 -0500 |
| commit | 71229098a61c0b8c5abe24c4a644234e1679bca3 (patch) | |
| tree | 36edcb70df11ddc1f061356afb4c013fdb323c22 /scripts/objdiff | |
| parent | af7a55514a03788c23fd2ea5c9364195f58dc38e (diff) | |
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 <[email protected]>
Cc: Simon Glass <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
