aboutsummaryrefslogtreecommitdiffstats
path: root/gl/lib/randint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/lib/randint.c')
-rw-r--r--gl/lib/randint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gl/lib/randint.c b/gl/lib/randint.c
index ccf268bed..fd5f7c38d 100644
--- a/gl/lib/randint.c
+++ b/gl/lib/randint.c
@@ -41,7 +41,7 @@ main (int argc, char **argv)
struct randint_source *ints = randint_all_new (name, SIZE_MAX);
for (i = 0; i < n; i++)
- printf ("%"PRIuMAX"\n", randint_choose (ints, choices));
+ printf ("%ju\n", randint_choose (ints, choices));
return (randint_all_free (ints) == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
}