From: Tim Peters Date: Wed, 15 Feb 2006 03:01:30 +0000 (+0000) Subject: randombits(): Stop compiler warning about mixing X-Git-Tag: v2.5a0~678 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=219c164a472cb9c388aa61f877c0979c3d645cc1;p=python randombits(): Stop compiler warning about mixing signed with unsigned types in comparison. --- diff --git a/Modules/rotatingtree.c b/Modules/rotatingtree.c index 952725b35a..39c6dd53ed 100644 --- a/Modules/rotatingtree.c +++ b/Modules/rotatingtree.c @@ -15,7 +15,7 @@ static int randombits(int bits) { int result; - if (random_stream < (1<