diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-08-11 19:13:45 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-08-11 19:13:45 (GMT) |
commit | 88fb6b1374e748b06826e17ca65c15087ae5b5ac (patch) | |
tree | 7c550af01bb506aa5d5bb9208abad6687f7b0f3a /test/th5s.c | |
parent | 2a5454616a653b9830c103be7381af28ba397a3d (diff) | |
download | hdf5-88fb6b1374e748b06826e17ca65c15087ae5b5ac.zip hdf5-88fb6b1374e748b06826e17ca65c15087ae5b5ac.tar.gz hdf5-88fb6b1374e748b06826e17ca65c15087ae5b5ac.tar.bz2 |
[svn-r25531] remove use of C99 PRI that failed on windows in dtypes.c
fix bugs where hid_t were assumed to be 32 bit ints or herr_t.
Diffstat (limited to 'test/th5s.c')
-rw-r--r-- | test/th5s.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/th5s.c b/test/th5s.c index ebbaa37..43ad1bb 100644 --- a/test/th5s.c +++ b/test/th5s.c @@ -1171,6 +1171,7 @@ test_h5s_encode(void) H5S_sel_type sel_type; H5S_class_t space_type; hssize_t nblocks; + hid_t ret_id; /* Generic hid_t return value */ herr_t ret; /* Generic return value */ /* Output message about test being performed */ @@ -1195,9 +1196,9 @@ test_h5s_encode(void) /* Try decoding bogus buffer */ H5E_BEGIN_TRY { - ret = H5Sdecode(sbuf); + ret_id = H5Sdecode(sbuf); } H5E_END_TRY; - VERIFY(ret, FAIL, "H5Sdecode"); + VERIFY(ret_id, FAIL, "H5Sdecode"); ret = H5Sencode(sid1, sbuf, &sbuf_size); CHECK(ret, FAIL, "H5Sencode"); |