From: Nick Mathewson Date: Tue, 22 May 2018 16:54:05 +0000 (-0400) Subject: uint breaks compilation on windows X-Git-Tag: tor-0.3.3.6~9^2^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=240bb177140099690213dfc524a235abd2aa0eb8;p=thirdparty%2Ftor.git uint breaks compilation on windows --- diff --git a/src/or/protover.c b/src/or/protover.c index 94e6b11c46..ae6cda092b 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