summaryrefslogtreecommitdiff
path: root/src/or/hs_service.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-03-23 17:47:56 -0400
committerNick Mathewson <nickm@torproject.org>2018-03-23 17:47:56 -0400
commiteacfd2911274a7f6676509fc8173b66bd1264bc2 (patch)
tree0ad61ad6233ac4196e1796f2bec49732fa9bcc6a /src/or/hs_service.c
parent79d3f401a5c87a61ca153af207039158db5f7874 (diff)
downloadtor-eacfd2911274a7f6676509fc8173b66bd1264bc2.tar.gz
tor-eacfd2911274a7f6676509fc8173b66bd1264bc2.zip
Fix windows compilation warnings in hs_service.c
These were breaking jenkins builds. Bugfix on 5804ccc9070dc54; bug not in any released Tor.
Diffstat (limited to 'src/or/hs_service.c')
-rw-r--r--src/or/hs_service.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/hs_service.c b/src/or/hs_service.c
index 169ba0dfc5..6fa9ec6b16 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;