summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MANIFEST1
-rw-r--r--src/H5I.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/MANIFEST b/MANIFEST
index 7a70f85..8254db2 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1020,6 +1020,7 @@
./test/th5s.c
./test/th5s.h5
./test/theap.c
+./test/tid.c
./test/titerate.c
./test/tlayouto.h5
./test/tmeta.c
diff --git a/src/H5I.c b/src/H5I.c
index bf378ee..f39021c 100644
--- a/src/H5I.c
+++ b/src/H5I.c
@@ -303,7 +303,7 @@ H5I_type_t H5I_register_type(H5I_type_t type_id, size_t hash_size, unsigned rese
if (H5I_next_type < MAX_NUM_TYPES)
{
ret_value = H5I_next_type;
- H5I_next_type++;
+ H5_INC_ENUM(H5I_type_t, H5I_next_type);
}
else
{
@@ -330,7 +330,6 @@ H5I_type_t H5I_register_type(H5I_type_t type_id, size_t hash_size, unsigned rese
}
/* Initialize the type */
-
/* Check arguments */
#ifdef HASH_SIZE_POWER_2
if (!POWER_OF_TWO(hash_size) || hash_size == 1)