diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/shuf.c | 2 |
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; } |