Converts __int64 to LONGLONG in LARGE_INTEGER union members on Windows (#1816)

This commit is contained in:
Dana Robinson 2022-06-22 10:48:51 -07:00 committed by GitHub
parent 8b2e7b32b5
commit 8bfed8aae4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -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.
*

View File

@ -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.
*

View File

@ -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.
*

View File

@ -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.
*