diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2022-05-08 09:38:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-08 09:38:32 (GMT) |
commit | ea27e1380cf02e5f92d61cf9509596914c14e4df (patch) | |
tree | e753ad8ab4717fd9c1359b7a65dad274c599ca1c /test/objcopy.c | |
parent | c0f314ad03f5ef0b4366ee625c83a7955a9ea87f (diff) | |
download | hdf5-ea27e1380cf02e5f92d61cf9509596914c14e4df.zip hdf5-ea27e1380cf02e5f92d61cf9509596914c14e4df.tar.gz hdf5-ea27e1380cf02e5f92d61cf9509596914c14e4df.tar.bz2 |
Fixes for various warnings/alignment with develop branch (#1755)
Diffstat (limited to 'test/objcopy.c')
-rw-r--r-- | test/objcopy.c | 4 |
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 */ |