aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2009-09-01 05:23:47 +0200
committerSebastian Hahn <sebastian@torproject.org>2009-09-01 18:36:27 +0200
commitaea9cf1011cf3c7badfd1bc49f0a27f96f234cf9 (patch)
treec66af3fe76725d159afe4f32e421c3c6a8db349c /src/or/rendclient.c
parent075c004095e25940707aa496b49e29caefdd73e8 (diff)
downloadtor-aea9cf1011cf3c7badfd1bc49f0a27f96f234cf9.tar
tor-aea9cf1011cf3c7badfd1bc49f0a27f96f234cf9.tar.gz
Fix compile warnings on Snow Leopard
Big thanks to nickm and arma for helping me with this!
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r--src/or/rendclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index a5d7c1016..38383e8ab 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -146,7 +146,7 @@ rend_client_send_introduction(origin_circuit_t *introcirc,
REND_DESC_COOKIE_LEN);
v3_shift += 2+REND_DESC_COOKIE_LEN;
}
- set_uint32(tmp+v3_shift+1, htonl(time(NULL)));
+ set_uint32(tmp+v3_shift+1, htonl((uint32_t)time(NULL)));
v3_shift += 4;
} /* if version 2 only write version number */
else if (entry->parsed->protocols & (1<<2)) {