diff options
author | Roger Dingledine <arma@torproject.org> | 2003-06-24 05:17:48 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-06-24 05:17:48 +0000 |
commit | 3dcc34491b568a796bc845140301181c3162e1f6 (patch) | |
tree | 9c850ae19da18b7ee64728ced9d63f5f9cc04311 /src | |
parent | a43c015838b183a3ad535d06f09145fa34e0f6c1 (diff) | |
download | tor-3dcc34491b568a796bc845140301181c3162e1f6.tar.gz tor-3dcc34491b568a796bc845140301181c3162e1f6.zip |
slightly happier on 64-bit archs
svn:r349
Diffstat (limited to 'src')
-rw-r--r-- | src/or/circuit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c index f39cb367ab..eab3d78904 100644 --- a/src/or/circuit.c +++ b/src/or/circuit.c @@ -869,7 +869,7 @@ int circuit_finish_handshake(circuit_t *circ, char *reply) { crypto_dh_free(hop->handshake_state); /* don't need it anymore */ hop->handshake_state = NULL; - log_fn(LOG_DEBUG,"hop %d init cipher forward %d, backward %d.", (int)hop, *(int*)keys, *(int*)(keys+16)); + log_fn(LOG_DEBUG,"hop %d init cipher forward %d, backward %d.", (uint32_t)hop, *(uint32_t*)keys, *(uint32_t*)(keys+16)); if (!(hop->f_crypto = crypto_create_init_cipher(DEFAULT_CIPHER,keys,iv,1))) { log(LOG_ERR,"Cipher initialization failed."); |