Fix windows compilation warnings in hs_service.c

These were breaking jenkins builds.  Bugfix on 5804ccc9070dc54;
bug not in any released Tor.
This commit is contained in:
Nick Mathewson 2018-03-23 17:47:56 -04:00
parent 79d3f401a5
commit eacfd29112
1 changed files with 3 additions and 1 deletions

View File

@ -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;