Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zeit: prevent integer overflow when creating Instant from unix_timestamp
Explicitly cast unix_timestamp to i128 to prevent integer overflow. Zig will overflow because unix_timestamp is i64, but Nanoseconds is i128 which wouldn't overflow in some cases. Fixes: #18
- Loading branch information