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

[tor-commits] [tor/master] uint breaks compilation on windows



commit 240bb177140099690213dfc524a235abd2aa0eb8
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Tue May 22 12:54:05 2018 -0400

    uint breaks compilation on windows
---
 src/or/protover.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/protover.c b/src/or/protover.c
index 94e6b11c4..ae6cda092 100644
--- a/src/or/protover.c
+++ b/src/or/protover.c
@@ -53,7 +53,7 @@ static const struct {
 /* Maximum allowed length of any single subprotocol name. */
 // C_RUST_COUPLED: src/rust/protover/protover.rs
 //                 `MAX_PROTOCOL_NAME_LENGTH`
-static const uint MAX_PROTOCOL_NAME_LENGTH = 100;
+static const unsigned MAX_PROTOCOL_NAME_LENGTH = 100;
 
 /**
  * Given a protocol_type_t, return the corresponding string used in



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