diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2017-11-27 02:13:18 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2017-11-27 02:13:18 (GMT) |
commit | 8cb45292110453354afd78b7cf1da50db2341014 (patch) | |
tree | 1230c02adefa40290545a129aacd670a6c227bbd /test/th5o.c | |
parent | f116545ce465181928ca97214b9cfa87092a3ee9 (diff) | |
download | hdf5-8cb45292110453354afd78b7cf1da50db2341014.zip hdf5-8cb45292110453354afd78b7cf1da50db2341014.tar.gz hdf5-8cb45292110453354afd78b7cf1da50db2341014.tar.bz2 |
Fixed misc Warnings flagged by VS2017.
Diffstat (limited to 'test/th5o.c')
-rw-r--r-- | test/th5o.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/th5o.c b/test/th5o.c index 4baac20..144ea4c 100644 --- a/test/th5o.c +++ b/test/th5o.c @@ -783,9 +783,9 @@ test_h5o_link(void) /* Allocate memory buffers */ /* (These are treated as 2-D buffers) */ wdata = (int *)HDmalloc((size_t)(TEST6_DIM1 * TEST6_DIM2) * sizeof(int)); - CHECK(wdata, NULL, "HDmalloc"); + CHECK_PTR(wdata, "HDmalloc"); rdata = (int *)HDmalloc((size_t)(TEST6_DIM1 * TEST6_DIM2) * sizeof(int)); - CHECK(rdata, NULL, "HDmalloc"); + CHECK_PTR(rdata, "HDmalloc"); /* Initialize the raw data */ for(i = n = 0; i < (TEST6_DIM1 * TEST6_DIM2); i++) |