diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-06-11 19:53:30 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-06-11 19:53:30 (GMT) |
commit | bea931d73cb9db08ac220393c2cb59dd6326a8ef (patch) | |
tree | 2a3852ebb0641453477852bf0c93be5b06e99335 /src/H5FDsec2.c | |
parent | d9348f3763294259cc75f15bd255133c820112db (diff) | |
download | hdf5-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.c | 2 |
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 */ |