summaryrefslogtreecommitdiffstats
path: root/test/tfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tfile.c')
-rw-r--r--test/tfile.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/tfile.c b/test/tfile.c
index 5cc21f0..308188a 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -64,7 +64,11 @@ test_file_create(void)
size_t parm; /*file-creation parameters */
size_t parm2; /*file-creation parameters */
int iparm;
+#ifdef H5_WANT_H5_V1_4_COMPAT
+ int iparm2;
+#else /* H5_WANT_H5_V1_4_COMPAT */
unsigned iparm2;
+#endif /* H5_WANT_H5_V1_4_COMPAT */
herr_t ret; /*generic return value */
/* Output message about test being performed */
@@ -297,7 +301,11 @@ test_file_open(void)
size_t parm; /*file-creation parameters */
size_t parm2; /*file-creation parameters */
int iparm;
+#ifdef H5_WANT_H5_V1_4_COMPAT
+ int iparm2;
+#else /* H5_WANT_H5_V1_4_COMPAT */
unsigned iparm2;
+#endif /* H5_WANT_H5_V1_4_COMPAT */
herr_t ret; /*generic return value */
/* Output message about test being performed */