summaryrefslogtreecommitdiffstats
path: root/tools/test/h5copy/h5copygentest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/h5copy/h5copygentest.c')
-rw-r--r--tools/test/h5copy/h5copygentest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/h5copy/h5copygentest.c b/tools/test/h5copy/h5copygentest.c
index bda0686..d4d6a08 100644
--- a/tools/test/h5copy/h5copygentest.c
+++ b/tools/test/h5copy/h5copygentest.c
@@ -336,7 +336,7 @@ static void gent_att_compound_vlstr(hid_t loc_id)
{
typedef struct { /* Compound structure for the attribute */
int i;
- char *v;
+ const char *v;
} s1;
hsize_t dim[1] = {1}; /* Dimension size */
hid_t sid = -1; /* Dataspace ID */