mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-01 07:58:02 +02:00
libnm: fix variable type for holding g_strv_length() result in "nm-setting-wired.c"'s verify()
This commit is contained in:
parent
783fe28465
commit
9b3d37721b
1 changed files with 1 additions and 1 deletions
|
|
@ -776,7 +776,7 @@ verify (NMSetting *setting, NMConnection *connection, GError **error)
|
|||
}
|
||||
|
||||
if (priv->s390_subchannels) {
|
||||
int len = g_strv_length (priv->s390_subchannels);
|
||||
guint len = g_strv_length (priv->s390_subchannels);
|
||||
|
||||
if (len != 2 && len != 3) {
|
||||
g_set_error_literal (error,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue