From eacfd2911274a7f6676509fc8173b66bd1264bc2 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 23 Mar 2018 17:47:56 -0400 Subject: [PATCH] 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;