diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2022-01-11 18:16:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-11 18:16:10 (GMT) |
commit | a13bf24a397783272d05a405cb7dcb2b950e4a43 (patch) | |
tree | ed00c61b45079fa80bd250a03c810de96471095c /src/H5public.h | |
parent | 80017cba4ff4c67aaea70b202745cb7b66100b16 (diff) | |
download | hdf5-a13bf24a397783272d05a405cb7dcb2b950e4a43.zip hdf5-a13bf24a397783272d05a405cb7dcb2b950e4a43.tar.gz hdf5-a13bf24a397783272d05a405cb7dcb2b950e4a43.tar.bz2 |
Use appropriate printf format specifiers for haddr_t and hsize_t types directly (#1340)
Diffstat (limited to 'src/H5public.h')
-rw-r--r-- | src/H5public.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/H5public.h b/src/H5public.h index 3c0570a..6a3911c 100644 --- a/src/H5public.h +++ b/src/H5public.h @@ -296,16 +296,15 @@ typedef uint64_t hsize_t; * should be discouraged in new code. */ typedef int64_t hssize_t; -#define PRIdHSIZE PRId64 -#define PRIiHSIZE PRIi64 -#define PRIoHSIZE PRIo64 -#define PRIuHSIZE PRIu64 -#define PRIxHSIZE PRIx64 -#define PRIXHSIZE PRIX64 -#define H5_SIZEOF_HSIZE_T 8 -#define H5_SIZEOF_HSSIZE_T 8 -#define H5_PRINTF_HSIZE_FMT "%" PRIuHSIZE -#define HSIZE_UNDEF UINT64_MAX +#define PRIdHSIZE PRId64 +#define PRIiHSIZE PRIi64 +#define PRIoHSIZE PRIo64 +#define PRIuHSIZE PRIu64 +#define PRIxHSIZE PRIx64 +#define PRIXHSIZE PRIX64 +#define H5_SIZEOF_HSIZE_T 8 +#define H5_SIZEOF_HSSIZE_T 8 +#define HSIZE_UNDEF UINT64_MAX /** * The address of an object in the file. |