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)
Thu, Jan 16, 1:24 PM
Unknown Object (File)
Wed, Jan 15, 12:24 PM
Unknown Object (File)
Thu, Jan 9, 4:05 PM
Unknown Object (File)
Dec 14 2024, 3:19 PM
Unknown Object (File)
Dec 10 2024, 10:18 PM
Unknown Object (File)
Dec 3 2024, 2:26 PM
Unknown Object (File)
Oct 28 2024, 7:53 PM
Unknown Object (File)
Oct 28 2024, 7:53 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.