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 SH build warnings. #2016

Merged
merged 2 commits into from
May 12, 2023
Merged

Fix SH build warnings. #2016

merged 2 commits into from
May 12, 2023

Conversation

Rot127
Copy link
Collaborator

@Rot127 Rot127 commented May 11, 2023

fixes #2010

But we should really look into refactoring it. The fix simply casts explicitly a bunch of enum values. Before that they were implicit.
I know nothing about SH, so can't judge if the enum casting is intended for architectural reasons.

@Rot127 Rot127 marked this pull request as ready for review May 11, 2023 14:18
arch/SH/SHDisassembler.c Outdated Show resolved Hide resolved
@kabeor
Copy link
Member

kabeor commented May 12, 2023

Thanks! Merged.

@kabeor kabeor merged commit 7d1ebc1 into capstone-engine:next May 12, 2023
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.

sh warnings
4 participants