summaryrefslogtreecommitdiffstats
path: root/src/H5Ppublic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Ppublic.h')
-rw-r--r--src/H5Ppublic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h
index 0ae36aa..bf5b3f6 100644
--- a/src/H5Ppublic.h
+++ b/src/H5Ppublic.h
@@ -61,7 +61,7 @@ extern "C" {
* The library created property list classes
*/
#define H5P_NO_CLASS_NEW (H5open(), H5P_NO_CLASS_g)
-#define H5P_NO_CLASS_HASH_SIZE 0
+#define H5P_NO_CLASS_HASH_SIZE 1 /* 1, not 0, otherwise allocations get weird */
#define H5P_FILE_CREATE_NEW (H5open(), H5P_FILE_CREATE_g)
#define H5P_FILE_CREATE_HASH_SIZE 17
#define H5P_FILE_ACCESS_NEW (H5open(), H5P_FILE_ACCESS_g)