[tor-commits] [tor/maint-0.3.3] Fix windows compilation warnings in hs_service.c

nickm at torproject.org nickm at torproject.org
Fri Mar 23 21:49:47 UTC 2018


commit eacfd2911274a7f6676509fc8173b66bd1264bc2
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Mar 23 17:47:56 2018 -0400

    Fix windows compilation warnings in hs_service.c
    
    These were breaking jenkins builds.  Bugfix on 5804ccc9070dc54;
    bug not in any released Tor.
---
 src/or/hs_service.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/or/hs_service.c b/src/or/hs_service.c
index 169ba0dfc..6fa9ec6b1 100644
--- a/src/or/hs_service.c
+++ b/src/or/hs_service.c
@@ -1954,7 +1954,9 @@ should_rotate_descriptors(hs_service_t *service, time_t now)
                        "time is %ld (now: %ld). Valid after time from "
                        "consensus is %ld",
                service->desc_current, service->desc_next,
-               service->state.next_rotation_time, now, ns->valid_after);
+               (long)service->state.next_rotation_time,
+               (long)now,
+               (long)ns->valid_after);
       goto no_rotation;
     }
     goto rotation;



More information about the tor-commits mailing list