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 sign conversion in MSVC byte swapping #253

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

robUx4
Copy link
Contributor

@robUx4 robUx4 commented Feb 18, 2024

reinterpret_cast doesn't generate any code, it just let the compiler a type conversion is happening. So the generated code should be the same.
However on the output the generated code might have been converted resulting to bogus values (used in dates and floats).

reinterpret_cast doesn't generate any code, it just let the compiler a type conversion is happening. So the generated
code should be the same.
However on the output the generated code might have been converted resulting to bogus values (used in dates and floats).
@mbunkus mbunkus merged commit b995933 into Matroska-Org:master Feb 24, 2024
15 checks passed
@robUx4 robUx4 deleted the msvc_endian branch February 24, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants