summaryrefslogtreecommitdiffstats
path: root/test/tvlstr.c
diff options
context:
space:
mode:
authorH. Joe Lee <hyoklee@hdfgroup.org>2021-11-15 23:09:45 (GMT)
committerGitHub <noreply@github.com>2021-11-15 23:09:45 (GMT)
commitcb5e8be7d6cb80657dd951ba789b124ec8e496e7 (patch)
treec0e43bc0f5e19fc865bbf0dd466627bac38dc804 /test/tvlstr.c
parent8ad1f3914ac1e1b52e378ce4b94c2965cb322133 (diff)
downloadhdf5-cb5e8be7d6cb80657dd951ba789b124ec8e496e7.zip
hdf5-cb5e8be7d6cb80657dd951ba789b124ec8e496e7.tar.gz
hdf5-cb5e8be7d6cb80657dd951ba789b124ec8e496e7.tar.bz2
1.10 TRILAB-266: Remove clang warnings. (#1200)
* OESS-99:Sync from develop. * TRILAB-266: Remove clang warnings. * Committing clang-format changes * TRILAB-266: Remove clang warnings. * TRILAB-266: Address @byrnHDF review. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'test/tvlstr.c')
-rw-r--r--test/tvlstr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tvlstr.c b/test/tvlstr.c
index 0363798..5fb7a10 100644
--- a/test/tvlstr.c
+++ b/test/tvlstr.c
@@ -293,7 +293,7 @@ test_vlstrings_special(void)
/* Check data read in */
for (i = 0; i < SPACE1_DIM1; i++)
if (rdata[i] != NULL)
- TestErrPrintf("VL doesn't match!, rdata[%d]=%p\n", (int)i, rdata[i]);
+ TestErrPrintf("VL doesn't match!, rdata[%d]=%s\n", (int)i, rdata[i]);
/* Write dataset to disk */
ret = H5Dwrite(dataset, tid1, H5S_ALL, H5S_ALL, H5P_DEFAULT, wdata);
@@ -352,7 +352,7 @@ test_vlstrings_special(void)
/* Check data read in */
for (i = 0; i < SPACE1_DIM1; i++)
if (rdata[i] != NULL)
- TestErrPrintf("VL doesn't match!, rdata[%d]=%p\n", (int)i, rdata[i]);
+ TestErrPrintf("VL doesn't match!, rdata[%d]=%s\n", (int)i, rdata[i]);
/* Try to write nil strings to disk. */
ret = H5Dwrite(dataset, tid1, H5S_ALL, H5S_ALL, H5P_DEFAULT, wdata2);
@@ -365,7 +365,7 @@ test_vlstrings_special(void)
/* Check data read in */
for (i = 0; i < SPACE1_DIM1; i++)
if (rdata[i] != NULL)
- TestErrPrintf("VL doesn't match!, rdata[%d]=%p\n", (int)i, rdata[i]);
+ TestErrPrintf("VL doesn't match!, rdata[%d]=%s\n", (int)i, rdata[i]);
/* Close Dataset */
ret = H5Dclose(dataset);