[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] add parenthesis to make cast work right.
commit 18f3f1ffa3b2f08418b52f55dfe059c5b5d864b4
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Wed Aug 23 13:12:58 2017 -0400
add parenthesis to make cast work right.
---
src/or/hs_service.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/hs_service.c b/src/or/hs_service.c
index 3f6de0ba2..afdb6e844 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);
}
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits