summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-08-18 16:29:33 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-08-18 16:29:33 (GMT)
commit4105dfedb98236c9e2029ff14b0694161aabfb05 (patch)
treed14f3427f78754ab46d05732133bd27026dc9fb0 /test
parentd99164a9ed4fb031db5d3cf3d3086862f25f48f1 (diff)
downloadhdf5-4105dfedb98236c9e2029ff14b0694161aabfb05.zip
hdf5-4105dfedb98236c9e2029ff14b0694161aabfb05.tar.gz
hdf5-4105dfedb98236c9e2029ff14b0694161aabfb05.tar.bz2
[svn-r7379] Purpose:
Code cleanup Description: Changed version #'s returned from H5Pget_version from 'int *' to 'unsigned *' since we are never going to be using negative version #'s... :-) Platforms tested: FreeBSD 4.8 (sleipnir) too small to need h5committest
Diffstat (limited to 'test')
-rw-r--r--test/tmisc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/tmisc.c b/test/tmisc.c
index c3ede54..8c7ae93 100644
--- a/test/tmisc.c
+++ b/test/tmisc.c
@@ -1712,10 +1712,17 @@ test_misc11(void)
unsigned istore_ik; /* Indexed storage B-tree internal 'K' value */
#endif /* H5_WANT_H5_V1_6_COMPAT */
unsigned sym_lk; /* Symbol table B-tree leaf 'K' value */
+#ifdef H5_WANT_H5_V1_6_COMPAT
int super; /* Superblock version # */
int freelist; /* Free list version # */
int stab; /* Symbol table entry version # */
int shhdr; /* Shared object header version # */
+#else /* H5_WANT_H5_V1_6_COMPAT */
+ unsigned super; /* Superblock version # */
+ unsigned freelist; /* Free list version # */
+ unsigned stab; /* Symbol table entry version # */
+ unsigned shhdr; /* Shared object header version # */
+#endif /* H5_WANT_H5_V1_6_COMPAT */
herr_t ret; /* Generic return value */
/* Output message about test being performed */