Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix minor unsafe pointer type assumption issue (#397)
Motivation: In a test we did `assumingMemoryBound(to: in6_addr.self)` for something that was actually bound to `UInt8`. So we should use `bindMemory(to: in6_addr.self, count: 1)` instead Modifications: replace one `assumingMemoryBound` by `bindMemory` Result: more memory correctness is good even for tests
- Loading branch information