[tor-commits] [tor/release-0.3.3] uint breaks compilation on windows

nickm at torproject.org nickm at torproject.org
Tue May 22 16:55:13 UTC 2018


commit 240bb177140099690213dfc524a235abd2aa0eb8
Author: Nick Mathewson <nickm at torproject.org>
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





More information about the tor-commits mailing list