make r an int to avoid unintended behavior
PATCH 5/7 make r an int to avoid unintended behavior
From: Tyson Smith <[email protected]>
--- random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
random.c +1 -1
@@ -87,7 +87,7 @@ static unsigned long rept_byte(void)*/ unsigned int rand32 (void ) { -unsigned long r =0 ; +unsigned int r =0 ;switch (rand () %4 ) {case 0 : r =rand_single_bit (32 );
Signature · 1 line
1.9.1