Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix remaining calloc param reversals #5016

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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(sizeof(char *), (size_t)nfields)))
if (NULL == (fnames = (char **)calloc((size_t)nfields, sizeof(char *))))
goto out;

for (i = 0; i < nfields; i++)
Expand Down
255 changes: 0 additions & 255 deletions src/H5Edefin.h

This file was deleted.

814 changes: 0 additions & 814 deletions src/H5Einit.h

This file was deleted.

442 changes: 0 additions & 442 deletions src/H5Epubgen.h

This file was deleted.

259 changes: 0 additions & 259 deletions src/H5Eterm.h

This file was deleted.

Loading
Loading