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

If remaining is greater than Integer.MAX_VALUE, "(int) remaining" will be negative #211

Closed
wants to merge 1 commit into from

Conversation

lizhoulee
Copy link

When the parameter count is great than Integer.MAX_VALUE, like
(Integer.MAX_VALUE + 1L)
then the code
(int)remaining
will be return -2147483648

@romix romix closed this in 8d7d0b5 Apr 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant