summaryrefslogtreecommitdiffstats
path: root/test/tvlstr.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-11-27 17:26:02 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:17 (GMT)
commit77144641dfb63077623a7b7c3e30a30e4f1a3e10 (patch)
tree9f60d69e4795bbf17595dc5772f610b0a6fa8c8f /test/tvlstr.c
parente07ca4b4a537733deb8a0af491b60e6e62eb4f3f (diff)
downloadhdf5-77144641dfb63077623a7b7c3e30a30e4f1a3e10.zip
hdf5-77144641dfb63077623a7b7c3e30a30e4f1a3e10.tar.gz
hdf5-77144641dfb63077623a7b7c3e30a30e4f1a3e10.tar.bz2
Revert "Make a squash commit of 'Quiet some warnings by adjusting warnings level and fixing some code.' (commit 5c911d8baf3)"
Diffstat (limited to 'test/tvlstr.c')
-rw-r--r--test/tvlstr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tvlstr.c b/test/tvlstr.c
index cc01084..731270c 100644
--- a/test/tvlstr.c
+++ b/test/tvlstr.c
@@ -861,12 +861,12 @@ static void test_write_same_element(void)
hid_t file1, dataset1;
hid_t mspace, fspace, dtype;
hsize_t fdim[] = {SPACE1_DIM1};
- const char *val[SPACE1_DIM1] = {"But", "reuniting", "is a", "great joy"};
+ char *val[SPACE1_DIM1] = {"But", "reuniting", "is a", "great joy"};
hsize_t marray[] = {NUMP};
hsize_t coord[SPACE1_RANK][NUMP];
herr_t ret;
- const char *wdata[SPACE1_DIM1] = {"Parting", "is such a", "sweet", "sorrow."};
+ char *wdata[SPACE1_DIM1] = {"Parting", "is such a", "sweet", "sorrow."};
file1 = H5Fcreate(DATAFILE3, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
CHECK(file1, FAIL, "H5Fcreate");