From dc665c6b82c7ad9b5fcb16f12bc7b026502626a7 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 9 Feb 2015 20:44:39 +0100 Subject: Fix compiler warning --- xorshift.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xorshift.c b/xorshift.c index b0c6e0a..9291b90 100644 --- a/xorshift.c +++ b/xorshift.c @@ -19,7 +19,7 @@ uint64_t xorshift_step (randctx * const st) { } static uint64_t rand64 () { - uint64_t rand; + unsigned long long rand; while (!__builtin_ia32_rdrand64_step (&rand)); return rand; } -- cgit v1.2.3