mirror of
https://github.com/apple/swift-nio
synced 2026-11-26 04:57:49 +00:00
* 32-bit fix for tests: Replace 0xDEADBEEF w/ 0x1337BEEF Motivation: Make tests compile on Raspberry Pi. Modifications: - Change tests so that they compile on 32-bit machines, like Raspi. Replaced 0xDEADBEEF which doesn't fit into an Int32, w/ 0x1337BEEF. - make ByteBuffer work better on 32-bit - fix other wrong assertions and limits that are too big on 32bit Also use TimeAmount.Value in one test. Result: Tests will compile on Raspi ... Motivation: Explain here the context, and why you're making that change. What is the problem you're trying to solve. Modifications: Describe the modifications you've done. Result: After your change, what will change.