libnm: fix variable type for holding g_strv_length() result in "nm-setting-wired.c"'s verify()

This commit is contained in:
Thomas Haller 2019-09-27 08:04:33 +02:00
parent 783fe28465
commit 9b3d37721b

View file

@ -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,