summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-06-09 19:16:59 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-06-09 19:16:59 (GMT)
commit3fcef502ea6188b243b1907d04e4cbe9d351bd8a (patch)
tree01779eba7ed08e7769d4f7690a5c3dc91b2039a8 /testpar
parent007adfc4525c2b7e7bbfd27e0f1a4c569687cf2e (diff)
downloadhdf5-3fcef502ea6188b243b1907d04e4cbe9d351bd8a.zip
hdf5-3fcef502ea6188b243b1907d04e4cbe9d351bd8a.tar.gz
hdf5-3fcef502ea6188b243b1907d04e4cbe9d351bd8a.tar.bz2
[svn-r7001] Purpose:
Code cleanup Description: Reduce warnings when compiled with --enable_hdf5v1_4 compatibility switch. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_dset.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/testpar/t_dset.c b/testpar/t_dset.c
index 97f193a..248272a 100644
--- a/testpar/t_dset.c
+++ b/testpar/t_dset.c
@@ -1122,7 +1122,11 @@ extend_writeInd(char *filename)
*/
{
int mdc_nelmts;
+#ifdef H5_WANT_H5_V1_4_COMPAT
+ int rdcc_nelmts;
+#else /* H5_WANT_H5_V1_4_COMPAT */
size_t rdcc_nelmts;
+#endif /* H5_WANT_H5_V1_4_COMPAT */
size_t rdcc_nbytes;
double rdcc_w0;
@@ -1524,7 +1528,11 @@ extend_writeAll(char *filename)
*/
{
int mdc_nelmts;
+#ifdef H5_WANT_H5_V1_4_COMPAT
+ int rdcc_nelmts;
+#else /* H5_WANT_H5_V1_4_COMPAT */
size_t rdcc_nelmts;
+#endif /* H5_WANT_H5_V1_4_COMPAT */
size_t rdcc_nbytes;
double rdcc_w0;