From 73fdcd38f16eb759de395de8680c994a742fbe1c Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 1 May 2019 08:52:54 +0200 Subject: [PATCH] device: fix type of loop variable in tc_commit() nqdiscs and ntfilters are unsigned integers. The loop variable must agree in range and signedness. (cherry picked from commit 438855e915c328867b7802b14ebef47d7f946ca8) --- src/devices/nm-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index ea6ad7e2ad..e07798094f 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -6496,7 +6496,7 @@ tc_commit (NMDevice *self) NMSettingTCConfig *s_tc = NULL; int ip_ifindex; guint nqdiscs, ntfilters; - int i; + guint i; connection = nm_device_get_applied_connection (self); if (connection)