[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] compilation fix: signed/unsigned comparison



commit e9308a8341dd7b14720412b2b38b5809e79e3735
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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);

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits