]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix windows compilation warnings in hs_service.c
authorNick Mathewson <nickm@torproject.org>
Fri, 23 Mar 2018 21:47:56 +0000 (17:47 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 23 Mar 2018 21:47:56 +0000 (17:47 -0400)
These were breaking jenkins builds.  Bugfix on 5804ccc9070dc54;
bug not in any released Tor.

src/or/hs_service.c

index 169ba0dfc54ee493bc62417a0e3d2c978ebc1c94..6fa9ec6b16fd573bc2557314d9d152effc7d494c 100644 (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;