Skip to content

Commit

Permalink
Merge branch 'gcc_13_support' of https://github.com/derobins/hdf5 int…
Browse files Browse the repository at this point in the history
…o gcc_13_support
  • Loading branch information
derobins committed Oct 20, 2024
2 parents 46eb04d + 7335c94 commit 29fc803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hl/src/H5TB.c
Original file line number Diff line number Diff line change
Expand Up @@ -3185,7 +3185,7 @@ H5TB_create_type(hid_t loc_id, const char *dset_name, size_t type_size, const si
if (H5TBget_table_info(loc_id, dset_name, &nfields, NULL) < 0)
goto out;

if (NULL == (fnames = (char **)calloc((size_t)nfields), sizeof(char *)))
if (NULL == (fnames = (char **)calloc((size_t)nfields, sizeof(char *))))
goto out;

for (i = 0; i < nfields; i++)
Expand Down

0 comments on commit 29fc803

Please sign in to comment.