diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-20 17:49:06 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-20 17:49:06 -0400 |
commit | f91ea506f0a9af55a520dab4c88abf0c01bd2ce1 (patch) | |
tree | ff6505ed7083fb28eaf897adc819c0e723d018d2 /src/common/util.c | |
parent | 7589fd6d403ac2aecb991a07069d78c6dccae719 (diff) | |
download | tor-f91ea506f0a9af55a520dab4c88abf0c01bd2ce1.tar.gz tor-f91ea506f0a9af55a520dab4c88abf0c01bd2ce1.zip |
Fix clang warnings introduced by 9f2b887c5d251b93ee9def708
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/util.c b/src/common/util.c index 53e4507f1f..26b76c31f6 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -4801,8 +4801,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; @@ -5375,4 +5375,3 @@ tor_ntohll(uint64_t a) { return tor_htonll(a); } - |