From 4872dd03e73aac434d735782417e40ca33336dac Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 24 Apr 2014 03:17:46 +0200 Subject: Always use size_t for counters --- src/fastd.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/fastd.h') diff --git a/src/fastd.h b/src/fastd.h index 0f5fec0..4119a06 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -125,8 +125,6 @@ struct fastd_peer_group { fastd_peer_group_t *children; const fastd_peer_group_config_t *conf; - - unsigned n_connections; }; struct fastd_stats { @@ -157,7 +155,7 @@ struct fastd_config { char *ifname; - unsigned n_bind_addrs; + size_t n_bind_addrs; fastd_bind_address_t *bind_addrs; fastd_bind_address_t *bind_addr_default_v4; @@ -257,7 +255,7 @@ struct fastd_context { int tunfd; - unsigned n_socks; + size_t n_socks; fastd_socket_t *socks; fastd_socket_t *sock_default_v4; -- cgit v1.2.3