aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/rendcommon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c
index 1b042f9fe9..5fe00da33b 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);