Skip to content

C# example - don't confuse int/s32 with uint/u32 #217

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

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

MendyBerger
Copy link
Contributor

The C# examples aren't consistent with converting s32 to int and u32 to uint, leading to a broken example.
For consistency and simplicity, I've gone ahead and changed all numbers to only use unsigned integers.

Copy link
Collaborator

@kate-goldenring kate-goldenring left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @MendyBerger

@kate-goldenring kate-goldenring merged commit 7fa0d98 into bytecodealliance:main Mar 20, 2025
@MendyBerger MendyBerger deleted the patch-2 branch March 20, 2025 17:49
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.

2 participants