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)
Dec 20 2023, 3:05 AM
Unknown Object (File)
Dec 11 2023, 11:46 PM
Unknown Object (File)
Oct 21 2023, 8:15 PM
Unknown Object (File)
Sep 6 2023, 9:41 AM
Unknown Object (File)
Jul 8 2023, 1:32 PM
Unknown Object (File)
Jun 30 2023, 2:33 AM
Unknown Object (File)
Jun 30 2023, 2:32 AM
Unknown Object (File)
Jun 30 2023, 2:29 AM
Subscribers

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

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.