From 98fb5a397f4d0c78374902f870bcf39e3eab503b Mon Sep 17 00:00:00 2001 From: Julien Schueller Date: Sat, 7 Dec 2024 12:28:49 +0100 Subject: [PATCH] H5Pf: Use off_t instead HDoff_t Fixes this error: H5Pf.c:1630:72: error: passing argument 5 of 'H5Pget_external' from incompatible pointer type [-Wincompatible-pointer-types] --- fortran/src/H5Pf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fortran/src/H5Pf.c b/fortran/src/H5Pf.c index 079d0277a43..7d8a77ed00f 100644 --- a/fortran/src/H5Pf.c +++ b/fortran/src/H5Pf.c @@ -1610,7 +1610,7 @@ h5pget_external_c(hid_t_f *prp_id, int_f *idx, size_t_f *name_size, _fcd name, o herr_t status; size_t c_namelen; char *c_name = NULL; - HDoff_t c_offset; + off_t c_offset; hsize_t size; c_namelen = (size_t)*name_size;