summaryrefslogtreecommitdiffstats
path: root/src/H5Fsuper_cache.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-27 22:40:05 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-27 22:40:05 (GMT)
commit2ad138dbb941e02c5811f0962d3a0ca6f01aa7f3 (patch)
treee9c2128e6cc2cc90b73f53445e95288fe1879a07 /src/H5Fsuper_cache.c
parent53f5793d38fe137cd32fec38f8686bd21452d46f (diff)
downloadhdf5-2ad138dbb941e02c5811f0962d3a0ca6f01aa7f3.zip
hdf5-2ad138dbb941e02c5811f0962d3a0ca6f01aa7f3.tar.gz
hdf5-2ad138dbb941e02c5811f0962d3a0ca6f01aa7f3.tar.bz2
[svn-r18652] Description:
Bring r18650 from trunk to 1.8 branch: Bring back various minor tweaks & cleanups from the revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode (h5committested on trunk)
Diffstat (limited to 'src/H5Fsuper_cache.c')
-rw-r--r--src/H5Fsuper_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fsuper_cache.c b/src/H5Fsuper_cache.c
index bb0ca40..7a0a585 100644
--- a/src/H5Fsuper_cache.c
+++ b/src/H5Fsuper_cache.c
@@ -182,7 +182,7 @@ H5F_sblock_load(H5F_t *f, hid_t dxpl_id, haddr_t UNUSED addr, const void UNUSED
HDassert(fixed_size + variable_size <= sizeof(sbuf));
/* Read in variable-sized portion of superblock */
- if(H5FD_set_eoa(lf, H5FD_MEM_SUPER, (haddr_t)fixed_size + variable_size) < 0)
+ if(H5FD_set_eoa(lf, H5FD_MEM_SUPER, (haddr_t)(fixed_size + variable_size)) < 0)
HGOTO_ERROR(H5E_FILE, H5E_CANTINIT, NULL, "set end of space allocation request failed")
if(H5FD_read(lf, dxpl_id, H5FD_MEM_SUPER, (haddr_t)fixed_size, variable_size, p) < 0)
HGOTO_ERROR(H5E_FILE, H5E_CANTOPENFILE, NULL, "unable to read superblock")