Warner Losh <i...@bsdimp.com> writes: > Dag-Erling Smørgrav <d...@des.no> writes: > > Do our standard endianness conversion functions handle unaligned > > accesses? > No. The warning appears to be telling us something that’s being > papered over.
No, the conversion is fine, they were just casting away the const qualifier before reading from the pointer (or rather, forgetting to preserve the qualifier in the cast). DES -- Dag-Erling Smørgrav - d...@des.no _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
