summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2022-01-04 17:00:55 (GMT)
committerGitHub <noreply@github.com>2022-01-04 17:00:55 (GMT)
commit9e6de287e7dee1f504f7c9cd7bfe32d8b349ee04 (patch)
tree40b179c6e36afc33e399cdc2f3e69e20f492fd68 /src/H5public.h
parent86b80626991a9754597186ed87687549abd3e9b4 (diff)
downloadhdf5-9e6de287e7dee1f504f7c9cd7bfe32d8b349ee04.zip
hdf5-9e6de287e7dee1f504f7c9cd7bfe32d8b349ee04.tar.gz
hdf5-9e6de287e7dee1f504f7c9cd7bfe32d8b349ee04.tar.bz2
Fix usage of several HDfprintf format specifiers after HDfprintf removal (#1324)
Diffstat (limited to 'src/H5public.h')
-rw-r--r--src/H5public.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/H5public.h b/src/H5public.h
index 6a3911c..3c0570a 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -296,15 +296,16 @@ 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 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 H5_PRINTF_HSIZE_FMT "%" PRIuHSIZE
+#define HSIZE_UNDEF UINT64_MAX
/**
* The address of an object in the file.