Sfoglia il codice sorgente

uint breaks compilation on windows

Nick Mathewson 6 anni fa
parent
commit
240bb17714
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/or/protover.c

+ 1 - 1
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