summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-12-20 11:19:57 -0500
committerNick Mathewson <nickm@torproject.org>2011-12-20 11:19:57 -0500
commitba1766bc3f2ed18662f3ef3a527ca75a54ee9595 (patch)
tree8757404b640a624b66286226d0e33d55f96a90f8 /src/or
parent4080ac9eee76bf7ef92e71a5a9af27a2aa354ca9 (diff)
downloadtor-ba1766bc3f2ed18662f3ef3a527ca75a54ee9595.tar.gz
tor-ba1766bc3f2ed18662f3ef3a527ca75a54ee9595.zip
Add explicit cast to make gcc happy
Diffstat (limited to 'src/or')
-rw-r--r--src/or/rendservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 646d423dae..76caeffd0f 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;
}