summaryrefslogtreecommitdiffstats
path: root/src/H5SMpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-07-21 14:57:40 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-07-21 14:57:40 (GMT)
commit400e415d76fb1a64cb15fe013299707f194b34a0 (patch)
tree7cefd75d68a2829bb515a1ca7b9327089c2f7004 /src/H5SMpkg.h
parenta42f3b9ddaca2f2d566f38bebdd419a3c941669a (diff)
downloadhdf5-400e415d76fb1a64cb15fe013299707f194b34a0.zip
hdf5-400e415d76fb1a64cb15fe013299707f194b34a0.tar.gz
hdf5-400e415d76fb1a64cb15fe013299707f194b34a0.tar.bz2
[svn-r21136] Description:
Bring r21135 from trunk to 1.8 branch: More code cleanups to reduce coupling with the H5F package. Tested on: FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode (h5committested on trunk)
Diffstat (limited to 'src/H5SMpkg.h')
-rwxr-xr-xsrc/H5SMpkg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5SMpkg.h b/src/H5SMpkg.h
index 84c2bf4..68dc484 100755
--- a/src/H5SMpkg.h
+++ b/src/H5SMpkg.h
@@ -83,7 +83,7 @@
H5SM_METADATA_PREFIX_SIZE \
\
/* Indices */ \
- + ((f)->shared->sohm_nindexes * H5SM_INDEX_HEADER_SIZE(f)) \
+ + (H5F_SOHM_NINDEXES(f) * H5SM_INDEX_HEADER_SIZE(f)) \
)
#define H5SM_LIST_SIZE(f, num_mesg) ( \