diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-24 03:17:46 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-24 03:17:46 +0200 |
commit | 4872dd03e73aac434d735782417e40ca33336dac (patch) | |
tree | 8c8a20da4b077e60ed26aa393fd7c39c4e8dacde /src/fastd.h | |
parent | baf9b2fd6096e5e8eee45b9f2feffa9adec6e927 (diff) | |
download | fastd-4872dd03e73aac434d735782417e40ca33336dac.tar fastd-4872dd03e73aac434d735782417e40ca33336dac.zip |
Always use size_t for counters
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 6 |
1 files changed, 2 insertions, 4 deletions
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; |