[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Fix a compilation warning with older gcc



commit 116e6af7a7024b4731ce6af75e8c5c5167314048
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Mon Sep 23 01:47:52 2013 -0400

    Fix a compilation warning with older gcc
---
 src/or/rendclient.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index 9d48b9c..bb4bd9b 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));



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits