summaryrefslogtreecommitdiffstats
path: root/src/H5Tpublic.h
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-05-15 18:58:54 (GMT)
committerGitHub <noreply@github.com>2021-05-15 18:58:54 (GMT)
commit6c170c4b24e7f93bbe2515b941d52eb28905be4a (patch)
tree8c6b0fc6981f0910ae4f6489c59d557a9b10fd00 /src/H5Tpublic.h
parent9fb2c24c2eb2454430701247a984780654ca0544 (diff)
downloadhdf5-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/H5Tpublic.h')
-rw-r--r--src/H5Tpublic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h
index 5301ea2..70a119d 100644
--- a/src/H5Tpublic.h
+++ b/src/H5Tpublic.h
@@ -245,7 +245,7 @@ typedef struct {
* Indicate that a string is variable length (null-terminated in C, instead of
* fixed length)
*/
-#define H5T_VARIABLE ((size_t)(-1))
+#define H5T_VARIABLE SIZE_MAX
/* Opaque information */
/**