summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-06-22 17:48:51 (GMT)
committerGitHub <noreply@github.com>2022-06-22 17:48:51 (GMT)
commit8bfed8aae444f23b493f641ea45b257b2498d79c (patch)
treebfa6ea401689690ad7cdbd9e6f0110050e78f777 /src
parent8b2e7b32b5b9987938ebf6936205f324bc5050b8 (diff)
downloadhdf5-8bfed8aae444f23b493f641ea45b257b2498d79c.zip
hdf5-8bfed8aae444f23b493f641ea45b257b2498d79c.tar.gz
hdf5-8bfed8aae444f23b493f641ea45b257b2498d79c.tar.bz2
Converts __int64 to LONGLONG in LARGE_INTEGER union members on Windows (#1816)
Diffstat (limited to 'src')
-rw-r--r--src/H5FDcore.c2
-rw-r--r--src/H5FDlog.c2
-rw-r--r--src/H5FDsec2.c2
-rw-r--r--src/H5FDstdio.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/H5FDcore.c b/src/H5FDcore.c
index ebf9921..20bb5f2 100644
--- a/src/H5FDcore.c
+++ b/src/H5FDcore.c
@@ -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.
*
diff --git a/src/H5FDlog.c b/src/H5FDlog.c
index 28ba5d8..90c4d0f 100644
--- a/src/H5FDlog.c
+++ b/src/H5FDlog.c
@@ -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.
*
diff --git a/src/H5FDsec2.c b/src/H5FDsec2.c
index 1d97f83..e83411c 100644
--- a/src/H5FDsec2.c
+++ b/src/H5FDsec2.c
@@ -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.
*
diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c
index 6624685..39dba47 100644
--- a/src/H5FDstdio.c
+++ b/src/H5FDstdio.c
@@ -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.
*