diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2021-05-15 18:58:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-15 18:58:54 (GMT) |
commit | 6c170c4b24e7f93bbe2515b941d52eb28905be4a (patch) | |
tree | 8c6b0fc6981f0910ae4f6489c59d557a9b10fd00 /src/H5Lpublic.h | |
parent | 9fb2c24c2eb2454430701247a984780654ca0544 (diff) | |
download | hdf5-6c170c4b24e7f93bbe2515b941d52eb28905be4a.zip hdf5-6c170c4b24e7f93bbe2515b941d52eb28905be4a.tar.gz hdf5-6c170c4b24e7f93bbe2515b941d52eb28905be4a.tar.bz2 |
Reduces overly-pedantic casting in the public headers (#644)
* Committing clang-format changes
* Fixes overly pedantic casting in public headers
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/H5Lpublic.h')
-rw-r--r-- | src/H5Lpublic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Lpublic.h b/src/H5Lpublic.h index 4b5e9e4..5274649 100644 --- a/src/H5Lpublic.h +++ b/src/H5Lpublic.h @@ -39,12 +39,12 @@ * * The maximum length of a link's name is encoded in a 32-bit unsigned integer. */ -#define H5L_MAX_LINK_NAME_LEN ((uint32_t)(-1)) /* (4GB - 1) */ +#define H5L_MAX_LINK_NAME_LEN UINT32_MAX /** * \brief Macro to indicate operation occurs on same location */ -#define H5L_SAME_LOC (hid_t)0 +#define H5L_SAME_LOC 0 /* (hid_t) */ /** * \brief Current version of the H5L_class_t struct |