aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/circuit.c')
-rw-r--r--src/or/circuit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c
index f033343ce..626db44fd 100644
--- a/src/or/circuit.c
+++ b/src/or/circuit.c
@@ -80,7 +80,7 @@ void circuit_free(circuit_t *circ) {
free(circ);
}
-void circuit_free_cpath(crypt_path_t **cpath, size_t cpathlen) {
+void circuit_free_cpath(crypt_path_t **cpath, int cpathlen) {
int i;
for(i=0;i<cpathlen;i++)
@@ -296,7 +296,7 @@ int circuit_deliver_data_cell(cell_t *cell, circuit_t *circ, connection_t *conn,
return connection_write_cell_to_buf(cell, conn);
}
-int circuit_crypt(circuit_t *circ, char *in, size_t inlen, char crypt_type) {
+int circuit_crypt(circuit_t *circ, char *in, int inlen, char crypt_type) {
char *out;
int i;
crypt_path_t *thishop;