aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/string/strfry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/strfry.c b/src/string/strfry.c
index 3873c88..bf56f39 100644
--- a/src/string/strfry.c
+++ b/src/string/strfry.c
@@ -38,7 +38,7 @@ static size_t
uniform_random_zu(size_t max)
{
size_t n, r = 0, mask = max, s = 1;
- int b;
+ double b;
while (((mask + 1) & ~mask) != mask + 1)
mask |= mask >> s++;
do