mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 17:30:17 +01:00
libnm-base: fix bogus and unnecessary cast in nm_ethtool_data_get_by_optname()
Fixes:df30651b89('libnm, cli, ifcfg-rh: add NMSettingEthtool setting') (cherry picked from commit373cbcb749)
This commit is contained in:
parent
d78e87232d
commit
02665e022b
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ nm_ethtool_data_get_by_optname(const char *optname)
|
|||
|
||||
_ASSERT_data();
|
||||
|
||||
idx = nm_utils_array_find_binary_search((gconstpointer *) _by_name,
|
||||
idx = nm_utils_array_find_binary_search(_by_name,
|
||||
sizeof(_by_name[0]),
|
||||
_NM_ETHTOOL_ID_NUM,
|
||||
optname,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue