diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2017-11-27 16:57:26 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2017-11-27 16:57:26 (GMT) |
commit | 856e475c47ffd66668d2f868817357b4354f164b (patch) | |
tree | d8ba562a82e15a146f23fc94beb9ee95f92647ca /test/trefstr.c | |
parent | 8cb45292110453354afd78b7cf1da50db2341014 (diff) | |
download | hdf5-856e475c47ffd66668d2f868817357b4354f164b.zip hdf5-856e475c47ffd66668d2f868817357b4354f164b.tar.gz hdf5-856e475c47ffd66668d2f868817357b4354f164b.tar.bz2 |
Added CHECK_PTR_EQ macro to testhdf5 to quiet cast warnings on Windows.
Diffstat (limited to 'test/trefstr.c')
-rw-r--r-- | test/trefstr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/trefstr.c b/test/trefstr.c index f55ede0..83e2951 100644 --- a/test/trefstr.c +++ b/test/trefstr.c @@ -251,7 +251,7 @@ test_refstr_wrap(void) /* Get pointer to raw string in ref-counted string */ s=H5RS_get_str(rs); CHECK_PTR(s, "H5RS_get_str"); - VERIFY(s, buf, "wrapping"); + CHECK_PTR_EQ(s, buf, "wrapping"); cmp=HDstrcmp(s,buf); VERIFY(cmp, 0, "HDstrcmp"); @@ -309,7 +309,7 @@ test_refstr_own(void) /* Get pointer to raw string in ref-counted string */ t=H5RS_get_str(rs); CHECK_PTR(t, "H5RS_get_str"); - VERIFY(t, s, "transferring"); + CHECK_PTR_EQ(t, s, "transferring"); cmp=HDstrcmp(s,t); VERIFY(cmp, 0, "HDstrcmp"); @@ -323,7 +323,7 @@ test_refstr_own(void) /* Get pointer to raw string in ref-counted string */ t=H5RS_get_str(rs); CHECK_PTR(t, "H5RS_get_str"); - VERIFY(t, s, "transferring"); + CHECK_PTR_EQ(t, s, "transferring"); cmp=HDstrcmp(t,s); VERIFY(cmp, 0, "HDstrcmp"); |