diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-08-27 13:42:40 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-08-27 13:42:40 (GMT) |
commit | c6f898c3c7ecdc9f6a5fc73cf189ce3f389ab57f (patch) | |
tree | 845923f5f4d6cef98fdfef216529eb00f2a041e8 /testpar | |
parent | c2869d6a57b3ba2d3d5bac8fd8f3f638263b122e (diff) | |
download | hdf5-c6f898c3c7ecdc9f6a5fc73cf189ce3f389ab57f.zip hdf5-c6f898c3c7ecdc9f6a5fc73cf189ce3f389ab57f.tar.gz hdf5-c6f898c3c7ecdc9f6a5fc73cf189ce3f389ab57f.tar.bz2 |
[svn-r5896] Purpose:
Code cleanup
Description:
Cleaned up some compiler warnings.
Platforms tested:
FreeBSD 4.6 (sleipnir) w/serial & parallel. Will be testing on IRIX64
6.5 (modi4) in serial & parallel shortly.
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/t_dset.c | 2 | ||||
-rw-r--r-- | testpar/t_mdset.c | 2 | ||||
-rw-r--r-- | testpar/testphdf5.c | 2 | ||||
-rw-r--r-- | testpar/testphdf5.h | 1 |
4 files changed, 4 insertions, 3 deletions
diff --git a/testpar/t_dset.c b/testpar/t_dset.c index 4c74d8d..056f64e 100644 --- a/testpar/t_dset.c +++ b/testpar/t_dset.c @@ -136,7 +136,7 @@ dataset_print(hssize_t start[], hsize_t block[], DATATYPE * dataset) /* print the column heading */ printf("%-8s", "Cols:"); for (j=0; j < block[1]; j++){ - printf("%3ld ", (long)start[1]+j); + printf("%3ld ", (long)(start[1]+j)); } printf("\n"); diff --git a/testpar/t_mdset.c b/testpar/t_mdset.c index c03de3c..574fdb4 100644 --- a/testpar/t_mdset.c +++ b/testpar/t_mdset.c @@ -85,7 +85,7 @@ void multiple_dset_write(char *filename, int ndatasets) */ void compact_dataset(char *filename) { - int i, j, n, mpi_size, mpi_rank, err_num=0; + int i, j, mpi_size, mpi_rank, err_num=0; hid_t iof, plist, dcpl, dxpl, dataset, memspace, filespace; hssize_t chunk_origin [DIM]; hsize_t chunk_dims [DIM], file_dims [DIM]; diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c index 95fe93c..0f0e723 100644 --- a/testpar/testphdf5.c +++ b/testpar/testphdf5.c @@ -122,7 +122,7 @@ usage(void) /* * parse the command line options */ -int +static int parse_options(int argc, char **argv) { int mpi_size, mpi_rank; /* mpi variables */ diff --git a/testpar/testphdf5.h b/testpar/testphdf5.h index 47d7ac0..1e0e47a 100644 --- a/testpar/testphdf5.h +++ b/testpar/testphdf5.h @@ -110,6 +110,7 @@ void extend_writeInd(char *filename); void dataset_readInd(char *filename); void dataset_readAll(char *filename); void extend_readInd(char *filename); +void compact_dataset(char *filename); int dataset_vrfy(hssize_t start[], hsize_t count[], hsize_t stride[], hsize_t block[], DATATYPE *dataset, DATATYPE *original); #endif /* PHDF5TEST_H */ |