[tor-commits] [tor/master] Add explicit cast to make gcc happy
nickm at torproject.org
nickm at torproject.org
Tue Dec 20 16:17:05 UTC 2011
commit ba1766bc3f2ed18662f3ef3a527ca75a54ee9595
Author: Nick Mathewson <nickm at torproject.org>
Date: Tue Dec 20 11:19:57 2011 -0500
Add explicit cast to make gcc happy
---
src/or/rendservice.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 646d423..76caeff 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -991,7 +991,7 @@ rend_service_note_removing_intro_point(rend_service_t *service,
} else if (fractional_n_intro_points_wanted_to_replace_this_one < 0) {
n_intro_points_wanted_to_replace_this_one = 0;
} else {
- n_intro_points_wanted_to_replace_this_one =
+ n_intro_points_wanted_to_replace_this_one = (unsigned)
fractional_n_intro_points_wanted_to_replace_this_one;
}
More information about the tor-commits
mailing list