Browse Source

compilation fix: signed/unsigned comparison

Nick Mathewson 10 years ago
parent
commit
e9308a8341
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/or/rendcommon.c

+ 2 - 1
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);