diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-06-11 22:22:11 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-06-11 22:22:11 (GMT) |
commit | 21bdf4d470420f461ccf3b924666444a76accaa2 (patch) | |
tree | ba180e6fbe20077a3617181406bc79e507d6b593 /testpar/t_cache2.c | |
parent | 706129d731d2f71289b9dac8f906c3e18cf4dd82 (diff) | |
download | hdf5-21bdf4d470420f461ccf3b924666444a76accaa2.zip hdf5-21bdf4d470420f461ccf3b924666444a76accaa2.tar.gz hdf5-21bdf4d470420f461ccf3b924666444a76accaa2.tar.bz2 |
[svn-r15204] Description:
Correct 'serialize' callback to add file pointer.
Tested on:
Linux/32 2.6 (kagiso) w/parallel
Diffstat (limited to 'testpar/t_cache2.c')
-rw-r--r-- | testpar/t_cache2.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/testpar/t_cache2.c b/testpar/t_cache2.c index 2dd8c70..a3731fb 100644 --- a/testpar/t_cache2.c +++ b/testpar/t_cache2.c @@ -331,7 +331,8 @@ static void * datum_deserialize(haddr_t addr, static herr_t datum_image_len(void *thing, size_t *image_len_ptr); -static herr_t datum_serialize(haddr_t addr, +static herr_t datum_serialize(const H5F_t *f, + haddr_t addr, size_t len, void * image_ptr, void * thing, @@ -1994,7 +1995,8 @@ datum_image_len(void *thing, */ herr_t -datum_serialize(UNUSED haddr_t addr, +datum_serialize(const H5F_t UNUSED *f, + UNUSED haddr_t addr, UNUSED size_t len, void * image_ptr, void * thing, @@ -3854,7 +3856,7 @@ unpin_entry(H5C2_t * cache_ptr, } - result = H5AC2_unpin_entry(file_ptr, (void *)entry_ptr); + result = H5AC2_unpin_entry(entry_ptr); if ( result < 0 ) { |