summaryrefslogtreecommitdiffstats
path: root/src/H5Oefl.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-06-29 19:49:53 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-06-29 19:49:53 (GMT)
commit8c2c4cd51cb8dd1393acad65e3f015d76bfd9563 (patch)
treea663d3ab5cc66e53485a66d973b55dbb571640be /src/H5Oefl.c
parent098ed81ec88483581d08974f27a62bf42a836fc3 (diff)
downloadhdf5-8c2c4cd51cb8dd1393acad65e3f015d76bfd9563.zip
hdf5-8c2c4cd51cb8dd1393acad65e3f015d76bfd9563.tar.gz
hdf5-8c2c4cd51cb8dd1393acad65e3f015d76bfd9563.tar.bz2
[svn-r4088] Purpose:
Code cleanup Description: Recent CodeWarrior patches have broken the Unix builds and moved code around in non-portable ways. Solution: Patched things back up to try to accomodate CodeWarrior and still let the Unix builds work correctly. Platforms tested: FreeBSD 4.3 (hawkwind)
Diffstat (limited to 'src/H5Oefl.c')
-rw-r--r--src/H5Oefl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Oefl.c b/src/H5Oefl.c
index de6595b..c5ac308 100644
--- a/src/H5Oefl.c
+++ b/src/H5Oefl.c
@@ -537,7 +537,7 @@ H5O_efl_write (H5F_t UNUSED *f, const H5O_efl_t *efl, haddr_t addr,
"unable to seek in external raw data file");
}
to_write = MIN(efl->slot[i].size-skip, size);
- if ((size_t)HDwrite (fd, (void*)buf, to_write)!=to_write) {
+ if ((size_t)HDwrite (fd, buf, to_write)!=to_write) {
HGOTO_ERROR (H5E_EFL, H5E_READERROR, FAIL,
"write error in external raw data file");
}