Explorar el Código

uint breaks compilation on windows

Nick Mathewson hace 6 años
padre
commit
240bb17714
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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