summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/kwsys/SystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index d1f1591..c4aff4a 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -296,7 +296,7 @@ double SystemTools::GetTime(void)
#else
struct timeval t;
gettimeofday(&t, 0);
- return 1.0*t.tv_sec + 0.000001*t.tv_usec;
+ return 1.0*double(t.tv_sec) + 0.000001*double(t.tv_usec);
#endif
}