mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r3240]
Purpose: a warning fix for windows Description: Solution: Platforms tested: windows 2000
This commit is contained in:
parent
05d1d7790d
commit
4fea67be25
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user