summaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-20 17:49:56 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-20 17:49:56 -0400
commitf24797a5870b685af98728002a0b0da73f582fda (patch)
tree1219499da10d023c02cadc5069317a2e3721e27b /src/common/util.c
parent398f15bdf174c8b480b2d8984562f8360cbd2dda (diff)
parentf91ea506f0a9af55a520dab4c88abf0c01bd2ce1 (diff)
downloadtor-f24797a5870b685af98728002a0b0da73f582fda.tar.gz
tor-f24797a5870b685af98728002a0b0da73f582fda.zip
Merge branch 'maint-0.3.4'
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 4fd07fabc5..f6598c58ba 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -4678,8 +4678,8 @@ process_environment_t *
process_environment_make(struct smartlist_t *env_vars)
{
process_environment_t *env = tor_malloc_zero(sizeof(process_environment_t));
- size_t n_env_vars = smartlist_len(env_vars);
- size_t i;
+ int n_env_vars = smartlist_len(env_vars);
+ int i;
size_t total_env_length;
smartlist_t *env_vars_sorted;