summaryrefslogtreecommitdiffstats
path: root/test/del_many_dense_attrs.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-11-13 18:04:42 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-11-13 18:04:42 (GMT)
commit81a256b02ee714eb6a62bcce86eac0c31a0c127b (patch)
tree39c82ac48cc3a394f9b15756075cb4296cf8a11a /test/del_many_dense_attrs.c
parent42cd35b717701b474141d5827215642b22384cc9 (diff)
downloadhdf5-81a256b02ee714eb6a62bcce86eac0c31a0c127b.zip
hdf5-81a256b02ee714eb6a62bcce86eac0c31a0c127b.tar.gz
hdf5-81a256b02ee714eb6a62bcce86eac0c31a0c127b.tar.bz2
Don't assign a constant string to a pointer to non-constant character.
Diffstat (limited to 'test/del_many_dense_attrs.c')
-rw-r--r--test/del_many_dense_attrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/del_many_dense_attrs.c b/test/del_many_dense_attrs.c
index ada7a6f..ce85d1b 100644
--- a/test/del_many_dense_attrs.c
+++ b/test/del_many_dense_attrs.c
@@ -70,7 +70,7 @@ main(void)
hid_t fapl = -1; /* File access property lists */
hid_t gcpl = -1; /* Group creation property list */
char aname[50]; /* Name of attribute */
- char *basename="attr"; /* Name prefix for attribute */
+ const char *basename="attr";/* Name prefix for attribute */
char filename[100]; /* File name */
int i; /* Local index variable */