summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fastd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fastd.c b/src/fastd.c
index 138731c..1841c42 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -265,7 +265,8 @@ static void dump_state(void) {
}
if (conf.mode == MODE_TAP) {
- size_t j, eth_addresses = 0;
+ unsigned eth_addresses = 0;
+ size_t j;
for (j = 0; j < VECTOR_LEN(ctx.eth_addrs); j++) {
if (VECTOR_INDEX(ctx.eth_addrs, j).peer == peer)
eth_addresses++;