diff options
-rw-r--r-- | src/H5Cpkg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Cpkg.h b/src/H5Cpkg.h index 6c8996d..6ef2c96 100644 --- a/src/H5Cpkg.h +++ b/src/H5Cpkg.h @@ -836,7 +836,7 @@ if ( ( (entry_ptr) == NULL ) || \ #define H5C__HASH_MASK ((size_t)(H5C__HASH_TABLE_LEN - 1) << 3) -#define H5C__HASH_FCN(x) (int)(((x) & H5C__HASH_MASK) >> 3) +#define H5C__HASH_FCN(x) (int)((unsigned)((x) & H5C__HASH_MASK) >> 3) #if H5C_DO_SANITY_CHECKS |