svn commit: r266238 - head/contrib/ldns/ldns

Dag-Erling Smørgrav des at
Sat May 17 12:08:59 UTC 2014

Warner Losh <imp at> writes:
> Dag-Erling Smørgrav <des at> 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

More information about the svn-src-head mailing list