summaryrefslogtreecommitdiffstats
path: root/src/H5MFdbg.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2012-04-02 18:21:05 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2012-04-02 18:21:05 (GMT)
commit177cbf2b9bf6e0083f78e8493be88918ab9c3504 (patch)
tree9e5dab5482f5cebf188f7b740629193f89a0f46f /src/H5MFdbg.c
parentbb455ebd6f14901e6888586b8209abc277cf128d (diff)
downloadhdf5-177cbf2b9bf6e0083f78e8493be88918ab9c3504.zip
hdf5-177cbf2b9bf6e0083f78e8493be88918ab9c3504.tar.gz
hdf5-177cbf2b9bf6e0083f78e8493be88918ab9c3504.tar.bz2
[svn-r22239] Description:
Bring r22233 from trunk to 1.8 branch: Correct several errors in fractal heap code: root indirect block was getting pinned/protected more than once, "single" free space sections weren't getting "re-parented" correctly when the heap transitioned between having a root indirect block and a root direct block, and several related issues. Also cleaned up some warnings in library/tests. Tested on: FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Mac OSX/64 10.7.3 (amazon) w/debug
Diffstat (limited to 'src/H5MFdbg.c')
-rw-r--r--src/H5MFdbg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5MFdbg.c b/src/H5MFdbg.c
index bd8d3d6..b4bb942 100644
--- a/src/H5MFdbg.c
+++ b/src/H5MFdbg.c
@@ -100,9 +100,9 @@ typedef struct {
*-------------------------------------------------------------------------
*/
static herr_t
-H5MF_sects_debug_cb(const H5FS_section_info_t *_sect, void *_udata)
+H5MF_sects_debug_cb(H5FS_section_info_t *_sect, void *_udata)
{
- const H5MF_free_section_t *sect = (const H5MF_free_section_t *)_sect; /* Section to dump info */
+ H5MF_free_section_t *sect = (H5MF_free_section_t *)_sect; /* Section to dump info */
H5MF_debug_iter_ud_t *udata = (H5MF_debug_iter_ud_t *)_udata; /* User data for callbacks */
herr_t ret_value = SUCCEED; /* Return value */