
commit fb062921a3085ec0cbf805baa5cd0f3a0f4342e6 Author: Taylor R Campbell <campbell+torsocks@mumble.net> Date: Tue Jun 16 20:27:58 2015 +0000 Use same type for i as for pool->count, uint32_t. --- src/common/onion.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/onion.c b/src/common/onion.c index 67b4297..6a61d83 100644 --- a/src/common/onion.c +++ b/src/common/onion.c @@ -141,7 +141,7 @@ error: ATTR_HIDDEN void onion_pool_destroy(struct onion_pool *pool) { - int i; + uint32_t i; assert(pool); @@ -220,7 +220,7 @@ ATTR_HIDDEN struct onion_entry *onion_entry_find_by_name(const char *onion_name, struct onion_pool *pool) { - int i; + uint32_t i; struct onion_entry *entry = NULL; assert(onion_name); @@ -251,7 +251,7 @@ ATTR_HIDDEN struct onion_entry *onion_entry_find_by_addr(const struct sockaddr *sa, struct onion_pool *pool) { - int i; + uint32_t i; struct onion_entry *entry = NULL; const struct sockaddr_in *sin;