summaryrefslogtreecommitdiffstats
path: root/src/H5Ocopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Ocopy.c')
-rw-r--r--src/H5Ocopy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Ocopy.c b/src/H5Ocopy.c
index ea8f1c6..44baa9e 100644
--- a/src/H5Ocopy.c
+++ b/src/H5Ocopy.c
@@ -633,8 +633,8 @@ H5O_copy_header_real(const H5O_loc_t *oloc_src, H5O_loc_t *oloc_dst /*out */,
/* Increment object header's reference count, if any descendents have created links to link to this object */
if(addr_map->inc_ref_count) {
- H5_CHECK_OVERFLOW(addr_map->inc_ref_count, hsize_t, int);
- oh_dst->nlink += (int)addr_map->inc_ref_count;
+ H5_CHECK_OVERFLOW(addr_map->inc_ref_count, hsize_t, unsigned);
+ oh_dst->nlink += (unsigned)addr_map->inc_ref_count;
} /* end if */
/* Insert destination object header in cache */