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 endianess issue during assignment. #2528

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Conversation

Rot127
Copy link
Collaborator

@Rot127 Rot127 commented Oct 26, 2024

Your checklist for this pull request

  • I've documented or updated the documentation of every API function and struct this PR changes.
  • I've added tests that prove my fix is effective or that my feature works (if possible)

Detailed description

Not casting the values explicitly and assigning them to their specific field can lead to issues on big endian machines.

This is a blind fix though.

Test plan

Al green because we have no big endian test yet.

Closing issues

...

Not casting the values explicitly and assigning them to their specific field
can lead to issues on big endian machines.
@kabeor kabeor merged commit 306d571 into capstone-engine:next Oct 28, 2024
19 checks passed
@Rot127 Rot127 deleted the be-fix branch October 28, 2024 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants