Page MenuHomeFreeBSD

makefs: use `char *` not `void *` for buf b_data and drop casts from msdos
ClosedPublic

Authored by emaste on Aug 20 2019, 9:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 23, 1:41 PM
Unknown Object (File)
Mon, May 18, 8:00 PM
Unknown Object (File)
Mon, May 18, 8:00 PM
Unknown Object (File)
Fri, May 15, 7:10 PM
Unknown Object (File)
Fri, May 15, 7:09 PM
Unknown Object (File)
Fri, May 15, 6:57 PM
Unknown Object (File)
Sun, May 10, 6:44 PM
Unknown Object (File)
Tue, May 5, 11:49 PM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

You've build-checked this, right? makefs/ffs has some casts of b_data to larger structure types, which are totally valid for void* but compilers may warn about casting from a lower-alignment type like char to a larger alignment type.

This revision is now accepted and ready to land.Aug 20 2019, 10:03 PM

You've build-checked this, right?

Yes on amd64.