Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEarnie Boyd <earnie@users.sf.net>2001-01-30 15:44:46 +0300
committerEarnie Boyd <earnie@users.sf.net>2001-01-30 15:44:46 +0300
commit58605e60f64f3d778b90ae989bcb46bb1532572b (patch)
treec5863d96dedc82eb27e1831fbf9ca59c1ebbccf6 /winsup/mingw/include
parent9928a7e10849e86811d23b66aee38ccc5be634d5 (diff)
* include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
Diffstat (limited to 'winsup/mingw/include')
-rw-r--r--winsup/mingw/include/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/mingw/include/time.h b/winsup/mingw/include/time.h
index 2305842f2..34b25620b 100644
--- a/winsup/mingw/include/time.h
+++ b/winsup/mingw/include/time.h
@@ -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