summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-02-09 20:44:39 +0100
committerLars-Dominik Braun <lars@6xq.net>2015-05-02 21:36:44 +0200
commitdc665c6b82c7ad9b5fcb16f12bc7b026502626a7 (patch)
tree84a04ee76c462951f6d620012377d9a9be8d7cde
parent6fbdfdcc6d3beda1073ad480f3b8322d93f9e1b3 (diff)
downloadpucket-dc665c6b82c7ad9b5fcb16f12bc7b026502626a7.tar.gz
pucket-dc665c6b82c7ad9b5fcb16f12bc7b026502626a7.tar.bz2
pucket-dc665c6b82c7ad9b5fcb16f12bc7b026502626a7.zip
Fix compiler warning
-rw-r--r--xorshift.c2
1 files changed, 1 insertions, 1 deletions
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;
}