summaryrefslogtreecommitdiffstats
path: root/hl/src/H5PT.c
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2015-03-25 16:21:30 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2015-03-25 16:21:30 (GMT)
commit1361515c5198b0144097701a5c232e48ddd4a865 (patch)
tree1754214e888fba8098e6844bb027800c5a23c3ac /hl/src/H5PT.c
parent3898ea081a0bd34b4f30a7aeec88ac1431e9c4a5 (diff)
downloadhdf5-1361515c5198b0144097701a5c232e48ddd4a865.zip
hdf5-1361515c5198b0144097701a5c232e48ddd4a865.tar.gz
hdf5-1361515c5198b0144097701a5c232e48ddd4a865.tar.bz2
[svn-r26576] Merged r26321,r26405,r26417 from the trunk into the branch.
Tested: h5committest
Diffstat (limited to 'hl/src/H5PT.c')
-rw-r--r--hl/src/H5PT.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hl/src/H5PT.c b/hl/src/H5PT.c
index 7a0bc20..6ed1ac0 100644
--- a/hl/src/H5PT.c
+++ b/hl/src/H5PT.c
@@ -130,6 +130,9 @@ hid_t H5PTcreate_fl ( hid_t loc_id,
if((table->type_id = H5Tcopy(dtype_id)) < 0)
goto out;
+ if((table->type_id = H5Tget_native_type(table->type_id, H5T_DIR_DEFAULT)) < 0)
+ goto out;
+
H5PT_create_index(table);
table->size = 0;