-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue for Int.max overflow (#211)
* Fix issue for Int.max overflow For Iphone 5c and lower the processors is built on a 32-bit architecture. So any Int will be 32 bit. For these device we need to use Int64 as Date().timeIntervalSince1970 * 1000 will be out of range. * suggestion fix * ageInMilliseconds theoretically can cause a fatal exception on 32-bit arch
- Loading branch information
1 parent
15926b8
commit 7149f90
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters