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 compilation warnings on Windows #2868

Merged
merged 2 commits into from
Dec 6, 2023

Conversation

wenyongh
Copy link
Contributor

@wenyongh wenyongh commented Dec 5, 2023

No description provided.

@@ -58,7 +58,7 @@ bh_bitmap_delete(bh_bitmap *bitmap)
* @return true if the index is in range, false otherwise
*/
static inline bool
bh_bitmap_is_in_range(bh_bitmap *bitmap, unsigned n)
bh_bitmap_is_in_range(bh_bitmap *bitmap, uintptr_t n)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The begin_index/end_index fields of bh_bitmap are defined as uintptr_t.

@wenyongh wenyongh merged commit 67a887e into bytecodealliance:main Dec 6, 2023
383 checks passed
@wenyongh wenyongh deleted the fix_windows_warning branch December 8, 2023 00:34
victoryang00 pushed a commit to victoryang00/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
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.

1 participant