summaryrefslogtreecommitdiff
path: root/src/shuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shuf.c')
-rw-r--r--src/shuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shuf.c b/src/shuf.c
index a8c1d8530..f7fc9369c 100644
--- a/src/shuf.c
+++ b/src/shuf.c
@@ -350,7 +350,7 @@ write_random_numbers (struct randint_source *s, size_t count,
for (i = 0; i < count; i++)
{
- randint j = lo_input + randint_choose (s, range);
+ unsigned long int j = lo_input + randint_choose (s, range);
if (printf ("%lu%c", j, eolbyte) < 0)
return -1;
}