From 1a0fe1f6b72f35c3afdc41e0b542a5b3e267ff03 Mon Sep 17 00:00:00 2001 From: Dana Robinson <43805+derobins@users.noreply.github.com> Date: Thu, 23 Jun 2022 09:11:04 -0700 Subject: Set a constant in H5SM to UINT_MAX instead of -1U (#1822) --- src/H5SM.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/H5SM.c b/src/H5SM.c index bd061dc8a..7ec5b8f 100644 --- a/src/H5SM.c +++ b/src/H5SM.c @@ -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; -- cgit v0.12