Skip to content

Commit

Permalink
H5Pf: Use off_t instead HDoff_t
Browse files Browse the repository at this point in the history
Fixes this error:

H5Pf.c:1630:72: error: passing argument 5 of 'H5Pget_external' from incompatible pointer type [-Wincompatible-pointer-types]
  • Loading branch information
jschueller authored Dec 7, 2024
1 parent 945fb3c commit 98fb5a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fortran/src/H5Pf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 98fb5a3

Please sign in to comment.