Skip to content

Always cast memcpy source pointers to const void *#499

Merged
mvandervoord merged 1 commit intoThrowTheSwitch:masterfrom
bal-stan:cast-memcpy-dest-pointers
Feb 18, 2025
Merged

Always cast memcpy source pointers to const void *#499
mvandervoord merged 1 commit intoThrowTheSwitch:masterfrom
bal-stan:cast-memcpy-dest-pointers

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