Add missing cast for improper time_t use in computation.
This commit is contained in:
parent
8fcfcd18dd
commit
484a709abe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85611
@ -162,7 +162,7 @@ MDTimeTrial(void)
|
|||||||
* Anderson, ric@Artisoft.COM.) */
|
* Anderson, ric@Artisoft.COM.) */
|
||||||
printf
|
printf
|
||||||
("Speed = %ld bytes/second\n",
|
("Speed = %ld bytes/second\n",
|
||||||
(long) TEST_BLOCK_LEN * (long) TEST_BLOCK_COUNT / ((endTime - startTime) != 0 ? (endTime - startTime) : 1));
|
(long) TEST_BLOCK_LEN * (long) TEST_BLOCK_COUNT / ((endTime - startTime) != 0 ? (long)(endTime - startTime) : 1));
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* Digests a reference suite of strings and prints the results.
|
* Digests a reference suite of strings and prints the results.
|
||||||
|
Loading…
Reference in New Issue
Block a user