[tor-commits] [tor/master] compilation fix: signed/unsigned comparison
nickm at torproject.org
nickm at torproject.org
Thu Apr 30 17:36:52 UTC 2015
commit e9308a8341dd7b14720412b2b38b5809e79e3735
Author: Nick Mathewson <nickm at torproject.org>
Date: Thu Apr 30 13:36:45 2015 -0400
compilation fix: signed/unsigned comparison
---
src/or/rendcommon.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c
index 1b042f9..5fe00da 100644
--- a/src/or/rendcommon.c
+++ b/src/or/rendcommon.c
@@ -1411,7 +1411,8 @@ rend_data_dup(const rend_data_t *data)
static int
compute_desc_id(rend_data_t *rend_data)
{
- int ret, replica;
+ int ret;
+ unsigned replica;
time_t now = time(NULL);
tor_assert(rend_data);
More information about the tor-commits
mailing list