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 order of arguments in call to calloc #132

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Conversation

thranur
Copy link
Contributor

@thranur thranur commented Sep 16, 2024

GCC 14 reports it as "error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]" and compilation fails. The fix restores compilation on GCC 14.

GCC 14 reports it as "error: ‘calloc’ sizes specified with ‘sizeof’ in
the earlier argument and not in the later argument
[-Werror=calloc-transposed-args]" and compilation fails otherwise.
@tezc tezc merged commit ce27845 into tezc:master Sep 17, 2024
19 of 20 checks passed
@tezc
Copy link
Owner

tezc commented Sep 17, 2024

@thranur thank you!.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants