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 438855e915)
This commit is contained in:
Thomas Haller 2019-05-01 08:52:54 +02:00 committed by Lubomir Rintel
parent 38cf36022e
commit 73fdcd38f1

View file

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