[svn-r189] Minor cleanups for clean compilation on IRIX 6.2

This commit is contained in:
Quincey Koziol 1998-01-28 15:25:14 -05:00
parent 55ac27633b
commit cfe9e28c94
2 changed files with 7 additions and 7 deletions

View File

@ -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 */

View File

@ -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");