summaryrefslogtreecommitdiffstats
path: root/test/gen_cross.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2013-08-19 22:13:15 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2013-08-19 22:13:15 (GMT)
commit482a9c28e71b0c1b3767bcf30be3c534bbc65ed9 (patch)
tree79a9cae55a104fadf1cc5ca8d11afc493c856690 /test/gen_cross.c
parentc502d81a8c87dd2bce47a5476e3331b04fc69322 (diff)
downloadhdf5-482a9c28e71b0c1b3767bcf30be3c534bbc65ed9.zip
hdf5-482a9c28e71b0c1b3767bcf30be3c534bbc65ed9.tar.gz
hdf5-482a9c28e71b0c1b3767bcf30be3c534bbc65ed9.tar.bz2
[svn-r24030] Description:
Clean up more compiler warnings. Tested on: Mac OSX/64 10.8.4 (amazon) w/gcc, C++ & FORTRAN (too minor to require h5committest)
Diffstat (limited to 'test/gen_cross.c')
-rw-r--r--test/gen_cross.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/gen_cross.c b/test/gen_cross.c
index d960499..8cbb2f5 100644
--- a/test/gen_cross.c
+++ b/test/gen_cross.c
@@ -94,7 +94,7 @@ create_normal_dset(hid_t fid, hid_t fsid, hid_t msid)
hid_t dataset; /* file and dataset handles */
hid_t dcpl;
float data[NX][NY]; /* data to write */
- float fillvalue = -2.2;
+ float fillvalue = -2.2f;
int i, j;
/*
@@ -204,7 +204,7 @@ create_scale_offset_dsets_float(hid_t fid, hid_t fsid, hid_t msid)
hid_t dataset; /* dataset handles */
hid_t dcpl;
float data[NX][NY]; /* data to write */
- float fillvalue = -2.2;
+ float fillvalue = -2.2f;
hsize_t chunk[RANK] = {CHUNK0, CHUNK1};
int i, j;
@@ -304,7 +304,7 @@ create_scale_offset_dsets_double(hid_t fid, hid_t fsid, hid_t msid)
hid_t dataset; /* dataset handles */
hid_t dcpl;
double data[NX][NY]; /* data to write */
- double fillvalue = -2.2;
+ double fillvalue = -2.2f;
hsize_t chunk[RANK] = {CHUNK0, CHUNK1};
int i, j;
@@ -837,7 +837,7 @@ create_fletcher_dsets_float(hid_t fid, hid_t fsid, hid_t msid)
hid_t dataset; /* dataset handles */
hid_t dcpl;
float data[NX][NY]; /* data to write */
- float fillvalue = -2.2;
+ float fillvalue = -2.2f;
hsize_t chunk[RANK] = {CHUNK0, CHUNK1};
int i, j;
@@ -937,7 +937,7 @@ create_deflate_dsets_float(hid_t fid, hid_t fsid, hid_t msid)
hid_t dataset; /* dataset handles */
hid_t dcpl;
float data[NX][NY]; /* data to write */
- float fillvalue = -2.2;
+ float fillvalue = -2.2f;
hsize_t chunk[RANK] = {CHUNK0, CHUNK1};
int i, j;
@@ -1037,7 +1037,7 @@ create_szip_dsets_float(hid_t fid, hid_t fsid, hid_t msid)
hid_t dataset; /* dataset handles */
hid_t dcpl;
float data[NX][NY]; /* data to write */
- float fillvalue = -2.2;
+ float fillvalue = -2.2f;
hsize_t chunk[RANK] = {CHUNK0, CHUNK1};
int i, j;
@@ -1137,7 +1137,7 @@ create_shuffle_dsets_float(hid_t fid, hid_t fsid, hid_t msid)
hid_t dataset; /* dataset handles */
hid_t dcpl;
float data[NX][NY]; /* data to write */
- float fillvalue = -2.2;
+ float fillvalue = -2.2f;
hsize_t chunk[RANK] = {CHUNK0, CHUNK1};
int i, j;
@@ -1239,7 +1239,7 @@ create_nbit_dsets_float(hid_t fid, hid_t fsid, hid_t msid)
hid_t dcpl;
size_t precision, offset;
float data[NX][NY]; /* data to write */
- float fillvalue = -2.2;
+ float fillvalue = -2.2f;
hsize_t chunk[RANK] = {CHUNK0, CHUNK1};
int i, j;