summaryrefslogtreecommitdiffstats
path: root/src/H5FDsec2.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-11-17 21:59:53 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-11-17 21:59:53 (GMT)
commit9e014467b62df66322de63e21be565ed59a079b3 (patch)
treee6b01ab36a0f2a67c1e3a68b5be10dc5e15f481d /src/H5FDsec2.c
parentcd313a16456934b336902ca509d10187b4d975de (diff)
downloadhdf5-9e014467b62df66322de63e21be565ed59a079b3.zip
hdf5-9e014467b62df66322de63e21be565ed59a079b3.tar.gz
hdf5-9e014467b62df66322de63e21be565ed59a079b3.tar.bz2
[svn-r1836] Mainly fixed a bug in VL datatype comparisons which was causing non-equal
VL types to compare as equal. Added some asserts to make certain nothing slips through again. Also cleaned up a few warnings from the SGI compiler.
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 db92793..8211145 100644
--- a/src/H5FDsec2.c
+++ b/src/H5FDsec2.c
@@ -657,7 +657,7 @@ H5FD_sec2_flush(H5FD_t *_file)
FUNC_ENTER(H5FD_sec2_seek, FAIL);
if (file->eoa>file->eof) {
- if (-1==file_seek(file->fd, file->eoa-1, SEEK_SET))
+ if (-1==file_seek(file->fd, (file_offset_t)(file->eoa-1), SEEK_SET))
HRETURN_ERROR(H5E_IO, H5E_SEEKERROR, FAIL,
"unable to seek to proper position");
if (write(file->fd, "", 1)!=1)