]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
uint breaks compilation on windows
authorNick Mathewson <nickm@torproject.org>
Tue, 22 May 2018 16:54:05 +0000 (12:54 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 22 May 2018 16:54:05 +0000 (12:54 -0400)
src/or/protover.c

index 94e6b11c46673a4fc01750166c6a04faae931816..ae6cda092b1084c1bb7bb4ee40e3b72b87ab1eb9 100644 (file)
@@ -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