diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-04-18 04:10:36 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-04-18 04:10:36 (GMT) |
commit | d09b08ce39f96d70f1d68a9f2e0313495c784619 (patch) | |
tree | 63ba039519b469adb1fffd30261079ae0dcf93f1 /test/unlink.c | |
parent | 0343b61666f105ca865dcbc0cbcff87f43f5e489 (diff) | |
download | hdf5-d09b08ce39f96d70f1d68a9f2e0313495c784619.zip hdf5-d09b08ce39f96d70f1d68a9f2e0313495c784619.tar.gz hdf5-d09b08ce39f96d70f1d68a9f2e0313495c784619.tar.bz2 |
[svn-r8384] Purpose:
Code cleanup
Description:
Clean up lots of warnings based on those reported from the SGI compilers
as well as gcc.
Platforms tested:
SGI O3900, IRIX64 6.5 (Cheryl's SGI machine)
FreeBSD 4.9 (sleipnir) w/ & w/o parallel
h5committest
Diffstat (limited to 'test/unlink.c')
-rw-r--r-- | test/unlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unlink.c b/test/unlink.c index ee76e83..cf9b5c8 100644 --- a/test/unlink.c +++ b/test/unlink.c @@ -752,7 +752,7 @@ test_filespace(void) /* Set buffer to different random numbers each time */ for (v=0, tmp_data=data; v<(FILESPACE_DIM0*FILESPACE_DIM1*FILESPACE_DIM2); v++) - *tmp_data++ = HDrandom(); + *tmp_data++ = (int)HDrandom(); /* Write the buffer to the dataset */ if (H5Dwrite(dataset, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, H5P_DEFAULT, data)<0) TEST_ERROR; @@ -1835,7 +1835,7 @@ main(void) double rdcc_w0; /* Set the random # seed */ - HDsrandom((unsigned long)time(NULL)); + HDsrandom((unsigned long)HDtime(NULL)); /* Open */ h5_reset(); |