Commit 73fdcd38 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 38cf3602
......@@ -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)
......
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