Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Cast float to int when last page in Pager is assigned. #175

Closed
wants to merge 1 commit into from

Conversation

tomol1111
Copy link

Subject

Variable lastPage can be float. It was a problem with identical comparision (===).

I am targeting this branch, because it is a patch.

Changelog

### Fixed
- Cast float to int when last page in Pager is assigned

@greg0ire
Copy link

You have to fix the calling code IMO.

@OskarStark
Copy link
Member

OskarStark commented Mar 4, 2019

Still needed @greg0ire?

@greg0ire
Copy link

greg0ire commented Mar 4, 2019

I think we can close this.

@greg0ire greg0ire closed this Mar 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants