summaryrefslogtreecommitdiffstats
path: root/src/H5FDsec2.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-06-11 19:53:30 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-06-11 19:53:30 (GMT)
commitbea931d73cb9db08ac220393c2cb59dd6326a8ef (patch)
tree2a3852ebb0641453477852bf0c93be5b06e99335 /src/H5FDsec2.c
parentd9348f3763294259cc75f15bd255133c820112db (diff)
downloadhdf5-bea931d73cb9db08ac220393c2cb59dd6326a8ef.zip
hdf5-bea931d73cb9db08ac220393c2cb59dd6326a8ef.tar.gz
hdf5-bea931d73cb9db08ac220393c2cb59dd6326a8ef.tar.bz2
[svn-r3983] Purpose:
Code cleanups Description: Fixed a small number of warnings and also took out the H5private.h header from H5Ppublic.h Platforms tested: FreeBSD 4.3 (hawkwind)
Diffstat (limited to 'src/H5FDsec2.c')
-rw-r--r--src/H5FDsec2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDsec2.c b/src/H5FDsec2.c
index d76ef15..edd198c 100644
--- a/src/H5FDsec2.c
+++ b/src/H5FDsec2.c
@@ -637,7 +637,7 @@ H5FD_sec2_write(H5FD_t *_file, H5FD_mem_t UNUSED type, hid_t UNUSED dxpl_id, had
while (size>0) {
do {
assert(size==(hsize_t)((size_t)size)); /*check for overflow*/
- nbytes = HDwrite(file->fd, (void*)buf, (size_t)size);
+ nbytes = HDwrite(file->fd, buf, (size_t)size);
} while (-1==nbytes && EINTR==errno);
if (-1==nbytes) {
/* error */