Commit 785bf54
[nrf fromtree] net: ethernet: Fix build without -fpermissive
Fix ethernet_hw_caps initialization in ethernet.h for
strict type checking.
g++-12: include/zephyr/net/ethernet.h:957:38: error: invalid \
conversion from 'int' to 'ethernet_hw_caps' [-fpermissive]
Signed-off-by: Daniel Nicoletti <[email protected]>
(cherry picked from commit b4f940d)1 parent e229f8a commit 785bf54
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
954 | 954 | | |
955 | 955 | | |
956 | 956 | | |
957 | | - | |
| 957 | + | |
958 | 958 | | |
959 | 959 | | |
960 | 960 | | |
| |||
0 commit comments