diff options
| author | Andrew Gallatin <gallatin@FreeBSD.org> | 2001-11-08 20:49:24 +0000 |
|---|---|---|
| committer | Andrew Gallatin <gallatin@FreeBSD.org> | 2001-11-08 20:49:24 +0000 |
| commit | f776d8e82bed73343172333c663916ad8f452aa8 (patch) | |
| tree | a13a645c1dd1fab8530147d0b5bb2b0b2c512698 /usr.bin/jot | |
| parent | 8ba1f55b492856574dfc3d12b71278a0fe8e8b7c (diff) | |
Notes
Diffstat (limited to 'usr.bin/jot')
| -rw-r--r-- | usr.bin/jot/jot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/jot/jot.c b/usr.bin/jot/jot.c index 6a01c228467f..ebea7e196e43 100644 --- a/usr.bin/jot/jot.c +++ b/usr.bin/jot/jot.c @@ -277,7 +277,7 @@ main(argc, argv) if (randomize) { *x = (ender - begin) * (ender > begin ? 1 : -1); for (*i = 1; *i <= reps || infinity; (*i)++) { - *y = arc4random() / (double)ULONG_MAX; + *y = arc4random() / (double)UINT_MAX; if (putdata(*y * *x + begin, reps - *i)) errx(1, "range error in conversion"); } |
