svn commit: r266238 - head/contrib/ldns/ldns
des at des.no
Sat May 17 12:08:59 UTC 2014
Warner Losh <imp at bsdimp.com> writes:
> Dag-Erling Smørgrav <des at 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).
Dag-Erling Smørgrav - des at des.no
More information about the svn-src-head