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

(cherry picked from commit 9b3d37721b)
This commit is contained in:
Thomas Haller 2019-09-27 08:04:33 +02:00
parent 7011f4f098
commit 83d4fb9f4e

View file

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