diff options
Diffstat (limited to 'src/H5Dtest.c')
-rw-r--r-- | src/H5Dtest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Dtest.c b/src/H5Dtest.c index f140d03..c155e95 100644 --- a/src/H5Dtest.c +++ b/src/H5Dtest.c @@ -63,7 +63,7 @@ H5D_layout_version_test(hid_t did, unsigned *version) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a dataset") if(version) - *version=dset->layout.version; + *version=dset->shared->layout.version; done: FUNC_LEAVE_NOAPI(ret_value); @@ -102,8 +102,8 @@ H5D_layout_contig_size_test(hid_t did, hsize_t *size) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a dataset") if(size) { - assert(dset->layout.type==H5D_CONTIGUOUS); - *size=dset->layout.u.contig.size; + assert(dset->shared->layout.type==H5D_CONTIGUOUS); + *size=dset->shared->layout.u.contig.size; } /* end if */ done: |