From 98fb5a397f4d0c78374902f870bcf39e3eab503b Mon Sep 17 00:00:00 2001 From: Julien Schueller Date: Sat, 7 Dec 2024 12:28:49 +0100 Subject: [PATCH 1/2] 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; From b9b5dbf37b05a4feb84a409b404c500829a00c23 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 7 Dec 2024 11:29:56 +0000 Subject: [PATCH 2/2] Committing clang-format changes --- 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 7d8a77ed00f..91221ca02d6 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; - off_t c_offset; + off_t c_offset; hsize_t size; c_namelen = (size_t)*name_size;