mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-07 16:37:56 +08:00
Set a constant in H5SM to UINT_MAX instead of -1U (#1822)
This commit is contained in:
parent
896304d2da
commit
1a0fe1f6b7
@ -1076,7 +1076,7 @@ H5SM_try_share(H5F_t *f, H5O_t *open_oh, unsigned defer_flags, unsigned type_id,
|
||||
ssize_t index_num;
|
||||
htri_t tri_ret;
|
||||
#ifndef NDEBUG
|
||||
unsigned deferred_type = -1U;
|
||||
unsigned deferred_type = UINT_MAX;
|
||||
#endif
|
||||
htri_t ret_value = TRUE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user