mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-21 07:51:46 +08:00
Converts __int64 to LONGLONG in LARGE_INTEGER union members on Windows (#1816)
This commit is contained in:
parent
8b2e7b32b5
commit
8bfed8aae4
@ -1607,7 +1607,7 @@ H5FD__core_truncate(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t closing
|
||||
BOOL bError; /* Boolean error flag */
|
||||
|
||||
/* Windows uses this odd QuadPart union for 32/64-bit portability */
|
||||
li.QuadPart = (__int64)file->eoa;
|
||||
li.QuadPart = (LONGLONG)file->eoa;
|
||||
|
||||
/* Extend the file to make sure it's large enough.
|
||||
*
|
||||
|
@ -1626,7 +1626,7 @@ H5FD__log_truncate(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t H5_ATTR_
|
||||
*/
|
||||
|
||||
/* Windows uses this odd QuadPart union for 32/64-bit portability */
|
||||
li.QuadPart = (__int64)file->eoa;
|
||||
li.QuadPart = (LONGLONG)file->eoa;
|
||||
|
||||
/* Extend the file to make sure it's large enough.
|
||||
*
|
||||
|
@ -915,7 +915,7 @@ H5FD__sec2_truncate(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t H5_ATTR
|
||||
BOOL bError; /* Boolean error flag */
|
||||
|
||||
/* Windows uses this odd QuadPart union for 32/64-bit portability */
|
||||
li.QuadPart = (__int64)file->eoa;
|
||||
li.QuadPart = (LONGLONG)file->eoa;
|
||||
|
||||
/* Extend the file to make sure it's large enough.
|
||||
*
|
||||
|
@ -1066,7 +1066,7 @@ H5FD_stdio_truncate(H5FD_t *_file, hid_t /*UNUSED*/ dxpl_id, hbool_t /*UNUSED*/
|
||||
rewind(file->fp);
|
||||
|
||||
/* Windows uses this odd QuadPart union for 32/64-bit portability */
|
||||
li.QuadPart = (__int64)file->eoa;
|
||||
li.QuadPart = (LONGLONG)file->eoa;
|
||||
|
||||
/* Extend the file to make sure it's large enough.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user