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

cast string to uint64 and uint32 failed on arm32 #217

Open
jinlinGuan opened this issue Jun 6, 2024 · 0 comments
Open

cast string to uint64 and uint32 failed on arm32 #217

jinlinGuan opened this issue Jun 6, 2024 · 0 comments

Comments

@jinlinGuan
Copy link

jinlinGuan commented Jun 6, 2024

cast max uint32 string to uint32:
cast.ToUint32E("4294967295") returns 0 and err: unable to cast "4294967295" of type string to uint32

cast max uint64 string to uint64:
cast.ToUint64E("18446744073709551615") returns 0 and err: unable to cast "18446744073709551615" of type string to uint64

The cases above work fine in v1.4.1.

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

No branches or pull requests

1 participant