diff options
Diffstat (limited to 'test/vfd_swmr_remove_reader.c')
-rw-r--r-- | test/vfd_swmr_remove_reader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vfd_swmr_remove_reader.c b/test/vfd_swmr_remove_reader.c index c7689c0..f56fce3 100644 --- a/test/vfd_swmr_remove_reader.c +++ b/test/vfd_swmr_remove_reader.c @@ -309,7 +309,7 @@ read_records(const char *filename, unsigned verbose, unsigned long nseconds, goto error; /* Allocate memory for the configuration structure */ - if((config = (H5F_vfd_swmr_config_t *)HDcalloc(1, sizeof(H5F_vfd_swmr_config_t))) == NULL) + if((config = HDcalloc(1, sizeof(*config))) == NULL) goto error; config->version = H5F__CURR_VFD_SWMR_CONFIG_VERSION; |