mirror of
https://github.com/apple/swift-nio
synced 2026-11-27 05:04:22 +00:00
Motivation: A few tests are failing to compiler on 32-bit platforms with recently nightly toolchains. These tests are skipped if `Int` is 32 bits wide but the compiler doesn't know that. Modifications: - Use overflow addition to stop the compiler from complaining; the addition won't ever actually overflow because of the runtime check done ahead of time. Result: - Tests compile again - Resolves #3154