summaryrefslogtreecommitdiffstats
path: root/test/tvltypes.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2017-11-27 02:13:18 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2017-11-27 02:13:18 (GMT)
commit8cb45292110453354afd78b7cf1da50db2341014 (patch)
tree1230c02adefa40290545a129aacd670a6c227bbd /test/tvltypes.c
parentf116545ce465181928ca97214b9cfa87092a3ee9 (diff)
downloadhdf5-8cb45292110453354afd78b7cf1da50db2341014.zip
hdf5-8cb45292110453354afd78b7cf1da50db2341014.tar.gz
hdf5-8cb45292110453354afd78b7cf1da50db2341014.tar.bz2
Fixed misc Warnings flagged by VS2017.
Diffstat (limited to 'test/tvltypes.c')
-rw-r--r--test/tvltypes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tvltypes.c b/test/tvltypes.c
index 5121a66..0c4cb9d 100644
--- a/test/tvltypes.c
+++ b/test/tvltypes.c
@@ -1015,9 +1015,9 @@ test_vltypes_compound_vlen_vlen(void)
/* Allocate and initialize VL data to write */
wdata = (s1 *)HDmalloc(sizeof(s1) * SPACE3_DIM1);
- CHECK(wdata, NULL, "HDmalloc");
+ CHECK_PTR(wdata, "HDmalloc");
rdata = (s1 *)HDmalloc(sizeof(s1) * SPACE3_DIM1);
- CHECK(rdata, NULL, "HDmalloc");
+ CHECK_PTR(rdata, "HDmalloc");
for(i = 0; i < SPACE3_DIM1; i++) {
wdata[i].i = (int)(i * 10);
wdata[i].f = (float)(i * 20) / 3.0F;
@@ -2503,7 +2503,7 @@ test_vltypes_fill_value(void)
/* Allocate space for the buffer to read data */
rbuf = (dtype1_struct *)HDmalloc(SPACE4_DIM_LARGE * sizeof(dtype1_struct));
- CHECK(rbuf, NULL, "HDmalloc");
+ CHECK_PTR(rbuf, "HDmalloc");
/* Create the small & large dataspaces to use */