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 | |
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
-rw-r--r-- | test/cmpd_dset.c | 8 | ||||
-rw-r--r-- | test/testhdf5.c | 6 |
2 files changed, 7 insertions, 7 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 */ diff --git a/test/testhdf5.c b/test/testhdf5.c index b59c3ab..cf713f9 100644 --- a/test/testhdf5.c +++ b/test/testhdf5.c @@ -63,14 +63,14 @@ struct TestStruct { char Description[64]; int SkipFlag; char Name[16]; - VOID(*Call) (void); + void (*Call) (void); } Test[MAXNUMOFTESTS]; -static void InitTest(const char *TheName, VOID(*TheCall) (void), const char *TheDescr); +static void InitTest(const char *TheName, void (*TheCall) (void), const char *TheDescr); static void usage(void); static void -InitTest(const char *TheName, VOID(*TheCall) (void), const char *TheDescr) +InitTest(const char *TheName, void (*TheCall) (void), const char *TheDescr) { if (Index >= MAXNUMOFTESTS) { print_func("Uh-oh, too many tests added, increase MAXNUMOFTEST!\n"); |