summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2001-01-04 23:48:48 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2001-01-04 23:48:48 (GMT)
commit4fea67be25bad24b20a622babac61dcb178f82aa (patch)
tree79d0ffef0e909550b3d8ae7e8268d2e48585f291 /src
parent05d1d7790d5b8658bdb2243586bae28c72a6e4d3 (diff)
downloadhdf5-4fea67be25bad24b20a622babac61dcb178f82aa.zip
hdf5-4fea67be25bad24b20a622babac61dcb178f82aa.tar.gz
hdf5-4fea67be25bad24b20a622babac61dcb178f82aa.tar.bz2
[svn-r3240]
Purpose: a warning fix for windows Description: Solution: Platforms tested: windows 2000
Diffstat (limited to 'src')
-rw-r--r--src/H5FDsec2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDsec2.c b/src/H5FDsec2.c
index 5182a98..bc21fd4 100644
--- a/src/H5FDsec2.c
+++ b/src/H5FDsec2.c
@@ -308,7 +308,7 @@ H5FD_sec2_open(const char *name, unsigned flags, hid_t UNUSED fapl_id,
file->op = OP_UNKNOWN;
#ifdef WIN32
filehandle = _get_osfhandle(fd);
- results = GetFileInformationByHandle(filehandle, &fileinfo);
+ results = GetFileInformationByHandle((HANDLE)filehandle, &fileinfo);
file->fileindexhi = fileinfo.nFileIndexHigh;
file->fileindexlo = fileinfo.nFileIndexLow;
#else