mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 01:10:08 +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')
This commit is contained in:
parent
3f04778df2
commit
373cbcb749
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_array_find_bsearch((gconstpointer *) _by_name,
|
||||
idx = nm_array_find_bsearch(_by_name,
|
||||
_NM_ETHTOOL_ID_NUM,
|
||||
sizeof(_by_name[0]),
|
||||
optname,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue