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

docs/examples/*hiperfifo.c: (nit) fix calloc arguments to match up with the function prototype #7678

Closed
wants to merge 1 commit into from

Conversation

@git-bruh
Copy link
Contributor

@git-bruh git-bruh commented Sep 6, 2021

The nelem and elsize fields were flipped in these examples, doesn't cause issues practically since it's just multiplying both the values but it's inconsistent with the argument names in the function prototype for calloc.

bagder
bagder approved these changes Sep 6, 2021
Copy link
Member

@bagder bagder left a comment

Very nit-picky, but accurate! 😁

@bagder bagder closed this in 033d15a Sep 6, 2021
@bagder
Copy link
Member

@bagder bagder commented Sep 6, 2021

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants