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

In Int32Value, cast to u32 before casting to u64. #56

Merged
merged 1 commit into from Mar 10, 2014
Merged

Commits on Mar 10, 2014

  1. In Int32Value, cast to u32 before casting to u64.

    Casting to u64 directly is equivalent to first casting to i64, which does
    sign extension. For negative values, this fills the highest 32 bits with
    ones rather than the zeros we need.
    Ms2ger committed Mar 10, 2014
You can’t perform that action at this time.