Replace the cast I removed in rev. 1.16 with a slightly less evil one

(well, at least one that gcc doesn't complain about).  This fixes -r,
which rev. 1.16 broke.

Submitted by:	bde
This commit is contained in:
Dima Dorfman 2001-05-29 23:35:18 +00:00
parent 2195de46d3
commit f878e83f9d
1 changed files with 1 additions and 1 deletions

View File

@ -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() / ULONG_MAX;
*y = arc4random() / (double)ULONG_MAX;
if (putdata(*y * *x + begin, reps - *i))
errx(1, "range error in conversion");
}