summaryrefslogtreecommitdiffstats
path: root/test/vds_swmr_writer.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2017-02-09 16:44:38 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2017-02-09 16:44:38 (GMT)
commitd875f7f3e65754f5618246cec47a75690a58e80c (patch)
treecfbebf28c49b5187f4adbefeb2ef8d9be3ed7ca4 /test/vds_swmr_writer.c
parent0399f55c54f862a15054712d1f976b9bfc7acec9 (diff)
downloadhdf5-d875f7f3e65754f5618246cec47a75690a58e80c.zip
hdf5-d875f7f3e65754f5618246cec47a75690a58e80c.tar.gz
hdf5-d875f7f3e65754f5618246cec47a75690a58e80c.tar.bz2
Minor warning fixes.
Diffstat (limited to 'test/vds_swmr_writer.c')
-rw-r--r--test/vds_swmr_writer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vds_swmr_writer.c b/test/vds_swmr_writer.c
index be7548c..abf0124 100644
--- a/test/vds_swmr_writer.c
+++ b/test/vds_swmr_writer.c
@@ -80,7 +80,7 @@ main(int argc, char *argv[])
/* Write planes to the dataset */
for(i = 0; i < N_PLANES_TO_WRITE; i++) {
- unsigned delay; /* Time interval between plane writes */
+ time_t delay; /* Time interval between plane writes */
/* Cork the dataset's metadata in the cache */
if(H5Odisable_mdc_flushes(did) < 0)
@@ -118,7 +118,7 @@ main(int argc, char *argv[])
TEST_ERROR
/* Wait one second between writing planes */
- delay = HDtime(0) + 1;
+ delay = HDtime(0) + (time_t)1;
while(HDtime(0) < delay)
;