summaryrefslogtreecommitdiffstats
path: root/src/H5I.c
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2004-06-21 18:21:04 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2004-06-21 18:21:04 (GMT)
commita4db4809046e9bf4487282661b3793c1133f5005 (patch)
treee01ff5933538a03f9b2bc08f1b4b799855ec33da /src/H5I.c
parent176433836aed77419712005be636fbd41fae7bc8 (diff)
downloadhdf5-a4db4809046e9bf4487282661b3793c1133f5005.zip
hdf5-a4db4809046e9bf4487282661b3793c1133f5005.tar.gz
hdf5-a4db4809046e9bf4487282661b3793c1133f5005.tar.bz2
[svn-r8711] Fixed bugs in H5I code, updated manifest.
Diffstat (limited to 'src/H5I.c')
-rw-r--r--src/H5I.c3
1 files changed, 1 insertions, 2 deletions
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)