summaryrefslogtreecommitdiffstats
path: root/src/misc/extra/extraUtilUtil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/extra/extraUtilUtil.c')
-rw-r--r--src/misc/extra/extraUtilUtil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/extra/extraUtilUtil.c b/src/misc/extra/extraUtilUtil.c
index fe8b25f1..7f19480c 100644
--- a/src/misc/extra/extraUtilUtil.c
+++ b/src/misc/extra/extraUtilUtil.c
@@ -347,7 +347,7 @@ void (*Extra_UtilMMoutOfMemory)( long size ) = (void (*)( long size ))Extra_Util
SeeAlso []
***********************************************************************/
-long Extra_CpuTime()
+clock_t Extra_CpuTime()
{
return clock();
}
@@ -366,7 +366,7 @@ long Extra_CpuTime()
#if defined(NT) || defined(NT64) || defined(WIN32)
double Extra_CpuTimeDouble()
{
- return (double)clock()/CLOCKS_PER_SEC;
+ return 1.0*clock()/CLOCKS_PER_SEC;
}
#else