Commit 8b1f68ec authored by Thomas Haller's avatar Thomas Haller Committed by Lubomir Rintel

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 438855e9)
parent ecc62e01
...@@ -6496,7 +6496,7 @@ tc_commit (NMDevice *self) ...@@ -6496,7 +6496,7 @@ tc_commit (NMDevice *self)
NMSettingTCConfig *s_tc = NULL; NMSettingTCConfig *s_tc = NULL;
int ip_ifindex; int ip_ifindex;
guint nqdiscs, ntfilters; guint nqdiscs, ntfilters;
int i; guint i;
connection = nm_device_get_applied_connection (self); connection = nm_device_get_applied_connection (self);
if (connection) if (connection)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment