summaryrefslogtreecommitdiffstats
path: root/test/objcopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/objcopy.c')
-rw-r--r--test/objcopy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/objcopy.c b/test/objcopy.c
index e3310ca..2743ccd 100644
--- a/test/objcopy.c
+++ b/test/objcopy.c
@@ -6881,8 +6881,8 @@ attach_attribute_compound_vlstr(hid_t loc_id)
hid_t cmpd_tid = -1; /* Compound datatype ID */
hsize_t dim1 = 1; /* Dimension size */
typedef struct { /* Compound structure for the attribute */
- int i;
- char *v;
+ int i;
+ const char *v;
} s1;
s1 buf; /* Buffer */
int ret_value = -1; /* Return value */