aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_service.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-08-23 13:12:58 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-23 13:12:58 -0400
commit18f3f1ffa3b2f08418b52f55dfe059c5b5d864b4 (patch)
tree788d86902fe60158519bf15fcd64cc43550a0311 /src/or/hs_service.c
parentee73c1848e0a2cf5d2ce4f3ddb76517e7f11bea3 (diff)
downloadtor-18f3f1ffa3b2f08418b52f55dfe059c5b5d864b4.tar.gz
tor-18f3f1ffa3b2f08418b52f55dfe059c5b5d864b4.zip
add parenthesis to make cast work right.
Diffstat (limited to 'src/or/hs_service.c')
-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);
}
}