[asterisk-dev] [patch] Alignment fix for main/event.c

Russell Bryant russell at digium.com
Tue Dec 11 12:58:48 CST 2007


Rafal Boni wrote:
> I whined about this in my earlier email -- if you're running on a
> machine that cares about alignment constraints of data (sparc64 in my
> case), event.c has at least a few gotchas and will likely cause a crash
> before Asterisk can answer the 1st call..

I have fixed the couple of spots that you pointed out by using routines defined
in include/asterisk/unaligned.h.

Thanks,

-- 
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.



More information about the asterisk-dev mailing list