* include/time.h: (CLOCKS_PER_SEC): Type cast the constant.

Thanks to: Cosmin Truta  <cosmin@cs.toronto.edu>
This commit is contained in:
Earnie Boyd
2001-01-30 12:44:46 +00:00
parent 9928a7e108
commit 58605e60f6
2 changed files with 6 additions and 1 deletions

View File

@ -45,7 +45,7 @@
* Number of clock ticks per second. A clock tick is the unit by which
* processor time is measured and is returned by 'clock'.
*/
#define CLOCKS_PER_SEC 1000
#define CLOCKS_PER_SEC ((clock_t)1000)
#define CLK_TCK CLOCKS_PER_SEC