summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-22 03:44:36 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-22 03:44:36 +0000
commite68760ac0f8feaa95e7a31c1525b3b32d318b62d (patch)
tree998d3499d7ad8349797c2514123fd377466eb04e /src/or/circuituse.c
parent3ced70730e64be2ee957cfb1e26da3da78597a73 (diff)
downloadtor-e68760ac0f8feaa95e7a31c1525b3b32d318b62d.tar.gz
tor-e68760ac0f8feaa95e7a31c1525b3b32d318b62d.zip
r14388@tombo: nickm | 2008-02-21 22:44:28 -0500
More 64-to-32 fixes. svn:r13672
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index e0e8350e10..5f45292859 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -1272,7 +1272,7 @@ connection_ap_handshake_attach_circuit(edge_connection_t *conn)
tor_assert(conn->socks_request);
want_onehop = conn->want_onehop;
- conn_age = time(NULL) - conn->_base.timestamp_created;
+ conn_age = (int)(time(NULL) - conn->_base.timestamp_created);
if (conn_age >= get_options()->SocksTimeout) {
int severity = (!conn->_base.addr && !conn->_base.port) ?