[avahi] arm memory alignment problems

pHilipp Zabel philipp.zabel at gmail.com
Fri Sep 23 07:36:27 PDT 2005


On 9/23/05, Lennart Poettering <lennart at poettering.de> wrote:
> Unless I mixed up LE with BE, this should do it:
>
> d[0] = (uint8_t) (v >> 24);
> d[1] = (uint8_t) (v >> 16);
> d[2] = (uint8_t) (v >> 8);
> d[3] = (uint8_t) v;

Hmm. What about this patch? Now the short packet error messages are gone, too.

--
Philipp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: avahi-alignment-fix.patch
Type: text/x-patch
Size: 2626 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/avahi/attachments/20050923/5535dfc1/avahi-alignment-fix-0001.bin


More information about the avahi mailing list