summaryrefslogtreecommitdiffstats
path: root/src/H5Dcontig.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-11-29 17:44:50 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-11-29 17:44:50 (GMT)
commit44fa94541b3de90b358f4921725bab2cbe953c4d (patch)
tree0ff29c0eff0bb91848dc3e675a245974c0cfd146 /src/H5Dcontig.c
parent25d86f39b6aa7e5b521a0fe7a241ff588c7b77fc (diff)
downloadhdf5-44fa94541b3de90b358f4921725bab2cbe953c4d.zip
hdf5-44fa94541b3de90b358f4921725bab2cbe953c4d.tar.gz
hdf5-44fa94541b3de90b358f4921725bab2cbe953c4d.tar.bz2
[svn-r14306] Description:
Add call to reset cached chunk info after initialization of chunk data storage. Tested on: Linux/64 2.4(smirom) w/parallel
Diffstat (limited to 'src/H5Dcontig.c')
-rw-r--r--src/H5Dcontig.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Dcontig.c b/src/H5Dcontig.c
index e1a02cb..bdb8294 100644
--- a/src/H5Dcontig.c
+++ b/src/H5Dcontig.c
@@ -660,7 +660,7 @@ H5D_contig_writevv(const H5D_io_info_t *io_info,
H5F_t *file = io_info->dset->oloc.file; /* File for dataset */
H5D_rdcdc_t *dset_contig=&(io_info->dset->shared->cache.contig); /* Cached information about contiguous data */
const H5D_contig_storage_t *store_contig=&(io_info->store->contig); /* Contiguous storage info for this I/O operation */
- const unsigned char *buf=_buf; /* Pointer to buffer to fill */
+ const unsigned char *buf=(const unsigned char *)_buf; /* Pointer to buffer to fill */
haddr_t addr; /* Actual address to read */
size_t total_size=0; /* Size of sequence in bytes */
size_t size; /* Size of sequence in bytes */
@@ -1203,11 +1203,11 @@ done:
if(H5I_dec_ref(tid_mem) < 0)
HDONE_ERROR(H5E_DATASET, H5E_CANTFREE, FAIL, "Can't decrement temporary datatype ID")
if(buf)
- H5FL_BLK_FREE(type_conv, buf);
+ (void)H5FL_BLK_FREE(type_conv, buf);
if(reclaim_buf)
- H5FL_BLK_FREE(type_conv, reclaim_buf);
+ (void)H5FL_BLK_FREE(type_conv, reclaim_buf);
if(bkg)
- H5FL_BLK_FREE(type_conv, bkg);
+ (void)H5FL_BLK_FREE(type_conv, bkg);
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D_contig_copy() */