aboutsummaryrefslogtreecommitdiff
path: root/networking/ifenslave.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ifenslave.c')
-rw-r--r--networking/ifenslave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifenslave.c b/networking/ifenslave.c
index 0aa232028..983d9d096 100644
--- a/networking/ifenslave.c
+++ b/networking/ifenslave.c
@@ -604,7 +604,7 @@ static int set_if_addr(char *master_ifname, char *slave_ifname)
struct ifreq ifr;
int res;
- int i;
+ unsigned i;
for (i = 0; i < ARRAY_SIZE(ifra); i++) {
strncpy_IFNAMSIZ(ifr.ifr_name, master_ifname);