]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix another signed/unsigned comparison bug
authorNick Mathewson <nickm@torproject.org>
Thu, 23 Apr 2015 13:21:44 +0000 (09:21 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 23 Apr 2015 13:21:44 +0000 (09:21 -0400)
src/or/or.h

index 4fd6d1d9f69bcc03635a7570244e323d05f7c8dd..2f6890a9efbd0dd8b1af941a94a77153d3e41286 100644 (file)
@@ -4869,7 +4869,7 @@ typedef struct rend_intro_point_t {
    * will accept. This is a random value between
    * INTRO_POINT_MIN_LIFETIME_INTRODUCTIONS and
    * INTRO_POINT_MAX_LIFETIME_INTRODUCTIONS. */
-  unsigned int max_introductions;
+  int max_introductions;
 
   /** (Service side only) The time at which this intro point was first
    * published, or -1 if this intro point has not yet been