diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2002-05-02 19:11:20 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2002-05-02 19:11:20 (GMT) |
commit | 01d25de8a7c3846f69510496dc456704fa43f586 (patch) | |
tree | 9b25ba93edd8915178366820691f65ab703667c7 /test/th5s.c | |
parent | 84d5daad4faa490f541aa87aa2b8ce8dd047cfce (diff) | |
download | hdf5-01d25de8a7c3846f69510496dc456704fa43f586.zip hdf5-01d25de8a7c3846f69510496dc456704fa43f586.tar.gz hdf5-01d25de8a7c3846f69510496dc456704fa43f586.tar.bz2 |
[svn-r5327]
Purpose:
code clean-up,for erasing windows warnings
Description:
Solution:
Platforms tested:
linux 2.2.18
Diffstat (limited to 'test/th5s.c')
-rw-r--r-- | test/th5s.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/th5s.c b/test/th5s.c index 64da868..f56a6b9 100644 --- a/test/th5s.c +++ b/test/th5s.c @@ -70,7 +70,7 @@ struct space4_struct { unsigned u; float f; char c2; - } space4_data={'v',987123,-3.14,'g'}; /* Test data for 4th dataspace */ + } space4_data={'v',987123,(float)-3.14,'g'}; /* Test data for 4th dataspace */ /**************************************************************** ** @@ -509,7 +509,7 @@ test_h5s_chunk(void) /* Initialize float array */ for(i=0; i<50000; i++) for(j=0; j<3; j++) - chunk_data_flt[i][j]=i*2.5-j*100.3; + chunk_data_flt[i][j]=(float)(i*2.5-j*100.3); status= H5Dwrite(dsetID,H5T_NATIVE_FLOAT,H5S_ALL,H5S_ALL,H5P_DEFAULT,chunk_data_flt); CHECK(status, FAIL, "H5Dwrite"); |