From ff73894ec8b167a8a82671283c51be3a5dd14321 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 30 Mar 2016 21:53:16 +0200 Subject: whoops, wrong type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/string/strfry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2