From: Nick Mathewson Date: Tue, 20 Dec 2011 16:19:57 +0000 (-0500) Subject: Add explicit cast to make gcc happy X-Git-Tag: tor-0.2.3.11-alpha~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba1766bc3f2ed18662f3ef3a527ca75a54ee9595;p=thirdparty%2Ftor.git Add explicit cast to make gcc happy --- 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; }