summaryrefslogtreecommitdiffstats
path: root/src/H5Fvfd_swmr.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-02-18 17:49:36 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-02-18 17:50:15 (GMT)
commite43895e3b49eead0a5a90b537c012020c9d76036 (patch)
treeb6cb38c10530f098952e699948e5cec03f5557ad /src/H5Fvfd_swmr.c
parenta162fbbaaab208b3ad4b36628713ef43c8e71edd (diff)
downloadhdf5-e43895e3b49eead0a5a90b537c012020c9d76036.zip
hdf5-e43895e3b49eead0a5a90b537c012020c9d76036.tar.gz
hdf5-e43895e3b49eead0a5a90b537c012020c9d76036.tar.bz2
Don't perform superfluous casts.
Diffstat (limited to 'src/H5Fvfd_swmr.c')
-rw-r--r--src/H5Fvfd_swmr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Fvfd_swmr.c b/src/H5Fvfd_swmr.c
index c13e1bc..08213e4 100644
--- a/src/H5Fvfd_swmr.c
+++ b/src/H5Fvfd_swmr.c
@@ -917,10 +917,10 @@ H5F_vfd_swmr_writer_end_of_tick(H5F_t *f)
* Note that this operation will restore the index to
* sorted order.
*/
- if ( (uint32_t)(f->shared->mdf_idx_entries_used + idx_entries_added) > 0 ) {
+ if (f->shared->mdf_idx_entries_used + idx_entries_added > 0) {
if ( H5F_update_vfd_swmr_metadata_file(f,
- (uint32_t)(f->shared->mdf_idx_entries_used + idx_entries_added),
+ f->shared->mdf_idx_entries_used + idx_entries_added,
f->shared->mdf_idx) < 0 )
HGOTO_ERROR(H5E_FILE, H5E_SYSTEM, FAIL, "can't update MD file")