summaryrefslogtreecommitdiffstats
path: root/src/H5Oefl.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2001-06-29 15:27:15 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2001-06-29 15:27:15 (GMT)
commit098ed81ec88483581d08974f27a62bf42a836fc3 (patch)
tree6635d919289a5313946911b32bc1d30e9ce1cf6f /src/H5Oefl.c
parent79c65cc4c0c9195ece5ed4f314e789e8e50f9f7a (diff)
downloadhdf5-098ed81ec88483581d08974f27a62bf42a836fc3.zip
hdf5-098ed81ec88483581d08974f27a62bf42a836fc3.tar.gz
hdf5-098ed81ec88483581d08974f27a62bf42a836fc3.tar.bz2
[svn-r4083]
code warrior support and some clean up the macros file_seek and file_offset_t that were repeated over sevral files were put only in H5private.h H5private .h was updated for win32 vthe Description: Solution: Platforms tested:
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 c5ac308..de6595b 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, buf, to_write)!=to_write) {
+ if ((size_t)HDwrite (fd, (void*)buf, to_write)!=to_write) {
HGOTO_ERROR (H5E_EFL, H5E_READERROR, FAIL,
"write error in external raw data file");
}