* include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
This commit is contained in:
parent
9928a7e108
commit
58605e60f6
|
@ -1,4 +1,9 @@
|
||||||
|
|
||||||
|
Tue Jan 30 07:31:22 2001 Earnie Boyd <earnie@users.sourceforge.net>
|
||||||
|
|
||||||
|
* include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
|
||||||
|
Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
|
||||||
|
|
||||||
Mon Jan 29 14:03:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
|
Mon Jan 29 14:03:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
|
||||||
|
|
||||||
* time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
|
* time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
* Number of clock ticks per second. A clock tick is the unit by which
|
* Number of clock ticks per second. A clock tick is the unit by which
|
||||||
* processor time is measured and is returned by 'clock'.
|
* 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
|
#define CLK_TCK CLOCKS_PER_SEC
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue