summaryrefslogtreecommitdiffstats
path: root/src/socket.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-24 03:17:46 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-24 03:17:46 +0200
commit4872dd03e73aac434d735782417e40ca33336dac (patch)
tree8c8a20da4b077e60ed26aa393fd7c39c4e8dacde /src/socket.c
parentbaf9b2fd6096e5e8eee45b9f2feffa9adec6e927 (diff)
downloadfastd-4872dd03e73aac434d735782417e40ca33336dac.tar
fastd-4872dd03e73aac434d735782417e40ca33336dac.zip
Always use size_t for counters
Diffstat (limited to 'src/socket.c')
-rw-r--r--src/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c
index 77f73b4..2a8611d 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -182,7 +182,7 @@ static bool set_bound_address(fastd_socket_t *sock) {
}
bool fastd_socket_handle_binds(void) {
- unsigned i;
+ size_t i;
for (i = 0; i < ctx.n_socks; i++) {
if (ctx.socks[i].fd >= 0)