Skip to content

Fix SH build warnings.#2016

Merged
kabeor merged 2 commits intocapstone-engine:nextfrom
Rot127:fix_sh_warnings
May 12, 2023
Merged

Fix SH build warnings.#2016
kabeor merged 2 commits intocapstone-engine:nextfrom
Rot127:fix_sh_warnings

Conversation

@Rot127
Copy link
Copy Markdown
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
Comment thread arch/SH/SHDisassembler.c Outdated
@kabeor
Copy link
Copy Markdown
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