diff options
author | kmu <kmu@hdfgroup.org> | 2020-01-29 19:31:14 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:31:53 (GMT) |
commit | f06ae5ec743083a340ca7cb730762b18b74ffb2a (patch) | |
tree | 51da4ed4e01a81d2b265d1b4b95cbccb0edbf4cd /test | |
parent | 1e5dd76d2550a2b162f1e9e4357a8dbaf9364c72 (diff) | |
download | hdf5-f06ae5ec743083a340ca7cb730762b18b74ffb2a.zip hdf5-f06ae5ec743083a340ca7cb730762b18b74ffb2a.tar.gz hdf5-f06ae5ec743083a340ca7cb730762b18b74ffb2a.tar.bz2 |
initialization discards const warning
Diffstat (limited to 'test')
-rw-r--r-- | test/tvltypes.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/tvltypes.c b/test/tvltypes.c index a6ed60e..e8c69b4 100644 --- a/test/tvltypes.c +++ b/test/tvltypes.c @@ -2398,17 +2398,17 @@ test_vltypes_fill_value(void) typedef struct dtype1_struct { unsigned int gui; unsigned int pgui; - char *str_id; - char *str_name; - char *str_desc; - char *str_orig; - char *str_stat; + const char *str_id; + const char *str_name; + const char *str_desc; + const char *str_orig; + const char *str_stat; unsigned int ver; double val; double ma; double mi; - char *str_form; - char *str_unit; + const char *str_form; + const char *str_unit; } dtype1_struct; herr_t ret; |