Skip to content
Commit b4f940d6 authored by Daniel Nicoletti's avatar Daniel Nicoletti Committed by Benjamin Cabé
Browse files

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: default avatarDaniel Nicoletti <dantti12@gmail.com>
parent fd037c79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment