summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-09-27 08:04:33 +0200
committerThomas Haller <thaller@redhat.com>2019-09-27 09:20:05 +0200
commit9b3d37721bc2d5ad43125439a03463e08c6835b1 (patch)
tree1f5286757325ea6e60f0b4913e66258de8b580ee
parent783fe28465f0879bf27180c86d2f09cf0945c54c (diff)
downloadNetworkManager-9b3d37721bc2d5ad43125439a03463e08c6835b1.tar.gz
libnm: fix variable type for holding g_strv_length() result in "nm-setting-wired.c"'s verify()
-rw-r--r--libnm-core/nm-setting-wired.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/nm-setting-wired.c b/libnm-core/nm-setting-wired.c
index 9fd6596119..fee069883e 100644
--- a/libnm-core/nm-setting-wired.c
+++ b/libnm-core/nm-setting-wired.c
@@ -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,