From: Jim Meyering Date: Sat, 10 Dec 2005 22:10:53 +0000 (+0000) Subject: Cleaner: X-Git-Tag: v6.0~1155 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d5978ad1908ed099b835d35e05e85b586c153ddd;p=thirdparty%2Fcoreutils.git Cleaner: Make the local an `int' instead. --- diff --git a/src/rand-isaac.c b/src/rand-isaac.c index de90168c4c..2f8ac86082 100644 --- a/src/rand-isaac.c +++ b/src/rand-isaac.c @@ -91,7 +91,7 @@ isaac_refill (struct isaac_state *s, uint32_t r[/* s>-words */]) uint32_t a, b; /* Caches of a and b */ uint32_t x, y; /* Temps needed by isaac_step macro */ uint32_t *m = s->mm; /* Pointer into state array */ - uint32_t w = s->words; + int w = s->words; a = s->a; b = s->b + (++s->c); @@ -108,11 +108,10 @@ isaac_refill (struct isaac_state *s, uint32_t r[/* s>-words */]) do { - int32_t zz = w; - isaac_step (s, a << 13, a, b, m, -zz / 2, r); - isaac_step (s, a >> 6, a, b, m + 1, -zz / 2, r + 1); - isaac_step (s, a << 2, a, b, m + 2, -zz / 2, r + 2); - isaac_step (s, a >> 16, a, b, m + 3, -zz / 2, r + 3); + isaac_step (s, a << 13, a, b, m, -w / 2, r); + isaac_step (s, a >> 6, a, b, m + 1, -w / 2, r + 1); + isaac_step (s, a << 2, a, b, m + 2, -w / 2, r + 2); + isaac_step (s, a >> 16, a, b, m + 3, -w / 2, r + 3); r += 4; } while ((m += 4) < s->mm + w);