diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-09-01 15:59:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-09-01 15:59:40 -0400 |
commit | 1cda6f3e756c2e76d50d398726c5b1851556756f (patch) | |
tree | 6532b12c8f7cc40b7daecb810e49596c6f509647 /src/or/rendclient.c | |
parent | d76fd59a7ee49b36591708070d1e50d8a50c67d0 (diff) | |
parent | bddda9bbdb047e52652f7c6f9c2047df15a4e08e (diff) | |
download | tor-1cda6f3e756c2e76d50d398726c5b1851556756f.tar.gz tor-1cda6f3e756c2e76d50d398726c5b1851556756f.zip |
Merge commit 'origin/maint-0.2.1'
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r-- | src/or/rendclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index f65c20f2a0..141efdc6a3 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -128,7 +128,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)) { |