aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-09-23 01:47:52 -0400
committerNick Mathewson <nickm@torproject.org>2013-09-23 01:47:52 -0400
commit116e6af7a7024b4731ce6af75e8c5c5167314048 (patch)
treeeb0e955d881c15f39a28be5bad85b0bc2a9bc9d7 /src
parentd1dbaf247396fd18d758f8b7e06935830e38bf4a (diff)
downloadtor-116e6af7a7024b4731ce6af75e8c5c5167314048.tar
tor-116e6af7a7024b4731ce6af75e8c5c5167314048.tar.gz
Fix a compilation warning with older gcc
Diffstat (limited to 'src')
-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 9d48b9ce9..bb4bd9bfd 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -250,7 +250,7 @@ rend_client_send_introduction(origin_circuit_t *introcirc,
v3_shift += 2+REND_DESC_COOKIE_LEN;
}
if (rend_client_should_send_timestamp()) {
- time_t now = (uint32_t)time(NULL);
+ uint32_t now = (uint32_t)time(NULL);
now += 300;
now -= now % 600;
set_uint32(tmp+v3_shift+1, htonl(now));