Skip to content

Always cast memcpy source pointers to const void * #499

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

Merged

Conversation

bal-stan
Copy link
Contributor

I've noticed that some of the generated memcpy calls do not cast source pointers to const void * but just void *.

I grepped for memcpy in .rb files and fixed all instances of this happening but let me know if I have missed something.

@mvandervoord mvandervoord merged commit 204117c into ThrowTheSwitch:master Feb 18, 2025
4 checks passed
@bal-stan bal-stan deleted the cast-memcpy-dest-pointers branch February 21, 2025 16:58
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