summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5.c b/src/H5.c
index c9e755e..4e48221 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -848,7 +848,7 @@ H5_timer_begin (H5_timer_t *timer)
#endif
gettimeofday (&etime, NULL);
- timer->etime = etime.tv_sec + etime.tv_usec/1e6;
+ timer->etime = (double)etime.tv_sec + (double)etime.tv_usec/1e6;
}