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/H5Fpublic.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/H5Fpublic.h')
-rw-r--r-- | src/H5Fpublic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Fpublic.h b/src/H5Fpublic.h index 164b412..51c06f4 100644 --- a/src/H5Fpublic.h +++ b/src/H5Fpublic.h @@ -84,7 +84,7 @@ (0x0020u) /**< Restrict search to objects opened through current file ID \ (as opposed to objects opened through any file ID accessing this file) */ -#define H5F_FAMILY_DEFAULT (hsize_t)0 +#define H5F_FAMILY_DEFAULT 0 /* (hsize_t) */ #ifdef H5_HAVE_PARALLEL /** @@ -108,7 +108,7 @@ typedef enum H5F_scope_t { /** * Unlimited file size for H5Pset_external() */ -#define H5F_UNLIMITED ((hsize_t)(-1L)) +#define H5F_UNLIMITED HSIZE_UNDEF /** * How does file close behave? |