diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-01-28 20:25:14 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-01-28 20:25:14 (GMT) |
commit | cfe9e28c94907c238934cc3cee0f2b4e3b69835e (patch) | |
tree | c0b92421e2d47bbedc3dc3455c0b23a8dd0ecd01 /test/cmpd_dset.c | |
parent | 55ac27633ba1984d4296159bf06f562d0adaec61 (diff) | |
download | hdf5-cfe9e28c94907c238934cc3cee0f2b4e3b69835e.zip hdf5-cfe9e28c94907c238934cc3cee0f2b4e3b69835e.tar.gz hdf5-cfe9e28c94907c238934cc3cee0f2b4e3b69835e.tar.bz2 |
[svn-r189] Minor cleanups for clean compilation on IRIX 6.2
Diffstat (limited to 'test/cmpd_dset.c')
-rw-r--r-- | test/cmpd_dset.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/cmpd_dset.c b/test/cmpd_dset.c index 92b930f..f504f66 100644 --- a/test/cmpd_dset.c +++ b/test/cmpd_dset.c @@ -124,9 +124,9 @@ main (void) hid_t file, dataset, space; herr_t status; static size_t dim[] = {NX, NY}; - size_t f_offset[2]; /*offset of hyperslab in file */ - size_t h_size[2]; /*size of hyperslab */ - size_t h_sample[2]; /*hyperslab sampling */ + int f_offset[2]; /*offset of hyperslab in file */ + int h_size[2]; /*size of hyperslab */ + int h_sample[2]; /*hyperslab sampling */ /* Create the file */ file = H5Fcreate ("cmpd_dset.h5", H5ACC_OVERWRITE, @@ -395,7 +395,7 @@ STEP 8: Read middle third hyperslab into memory array.\n"); assert (status>=0); /* Create memory data space */ - s8_m_sid = H5Pcreate_simple (2, h_size); + s8_m_sid = H5Pcreate_simple (2, (size_t *)h_size); assert (s8_m_sid>=0); /* Read the dataset */ |