Browse Source

Fix windows compilation warnings in hs_service.c

These were breaking jenkins builds.  Bugfix on 5804ccc9070dc54;
bug not in any released Tor.
Nick Mathewson 6 years ago
parent
commit
eacfd29112
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/or/hs_service.c

+ 3 - 1
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;