summaryrefslogtreecommitdiffstats
path: root/src/H5Pdcpl.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2024-01-18 17:03:59 (GMT)
committerGitHub <noreply@github.com>2024-01-18 17:03:59 (GMT)
commitab11e076bf90ee2f59016bbbc4a781c9142f30b2 (patch)
tree4531f6cde46e3d3a9376ffebda318e8a76592062 /src/H5Pdcpl.c
parent5ae4ecc1f20659b3abffcc4098a91e085173017b (diff)
downloadhdf5-ab11e076bf90ee2f59016bbbc4a781c9142f30b2.zip
hdf5-ab11e076bf90ee2f59016bbbc4a781c9142f30b2.tar.gz
hdf5-ab11e076bf90ee2f59016bbbc4a781c9142f30b2.tar.bz2
Replace off_t with HDoff_t internally (#3944)
off_t is a 32-bit signed value on Windows, so we should use HDoff_t (which is __int64 on Windows) internally instead. Also defines HDftell on Windows to be _ftelli64().
Diffstat (limited to 'src/H5Pdcpl.c')
-rw-r--r--src/H5Pdcpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Pdcpl.c b/src/H5Pdcpl.c
index cdee942..ae426ee 100644
--- a/src/H5Pdcpl.c
+++ b/src/H5Pdcpl.c
@@ -1550,7 +1550,7 @@ H5P__dcrt_ext_file_list_dec(const void **_pp, void *_value)
enc_size = *(*pp)++;
assert(enc_size < 256);
UINT64DECODE_VAR(*pp, enc_value, enc_size);
- efl->slot[u].offset = (off_t)enc_value;
+ efl->slot[u].offset = (HDoff_t)enc_value;
/* decode size */
enc_size = *(*pp)++;