aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/hs_service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hs_service.c b/src/or/hs_service.c
index 3f6de0ba2d..afdb6e8440 100644
--- a/src/or/hs_service.c
+++ b/src/or/hs_service.c
@@ -1877,7 +1877,7 @@ can_service_launch_intro_circuit(hs_service_t *service, time_t now)
INTRO_CIRC_RETRY_PERIOD,
service->state.num_intro_circ_launched,
(long int) elapsed_time,
- (long int) INTRO_CIRC_RETRY_PERIOD - elapsed_time);
+ (long int) (INTRO_CIRC_RETRY_PERIOD - elapsed_time));
tor_free(msg);
}
}