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

replace reinterpret_cast with memcpy #2695

Merged
merged 2 commits into from
Jul 17, 2023
Merged

replace reinterpret_cast with memcpy #2695

merged 2 commits into from
Jul 17, 2023

Commits on Jul 16, 2023

  1. replace reinterpret_cast with copy_n

    On mips64, this throws a cast-align warning. Silence it.
    
    Signed-off-by: Rosen Penev <[email protected]>
    neheb committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    dcb7841 View commit details
    Browse the repository at this point in the history
  2. memcpy to copy_n conversions

    The latter is more strict regarding types
    
    Signed-off-by: Rosen Penev <[email protected]>
    neheb committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    b338f49 View commit details
    Browse the repository at this point in the history