diff options
Diffstat (limited to 'test/vfd_swmr_addrem_writer.c')
-rw-r--r-- | test/vfd_swmr_addrem_writer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vfd_swmr_addrem_writer.c b/test/vfd_swmr_addrem_writer.c index 51b2470..2b93926 100644 --- a/test/vfd_swmr_addrem_writer.c +++ b/test/vfd_swmr_addrem_writer.c @@ -107,7 +107,7 @@ open_skeleton(const char *filename, unsigned verbose) goto error; /* Allocate memory for the configuration structure */ - if((config = (H5F_vfd_swmr_config_t *)calloc(1, sizeof(H5F_vfd_swmr_config_t))) == NULL) + if((config = calloc(1, sizeof(*config))) == NULL) goto error; config->version = H5F__CURR_VFD_SWMR_CONFIG_VERSION; |