Mark Kettenis wrote: > > fix that first by avoiding unsafe casts. > > Well, I think that makes the code less readable. > > Just leave it as is. It's not as if bcopy(3) will ever go away.
The problem isn't bcopy. The problem is the cast itself is unsafe.