Merged revisions 129966 via svnmerge from
authorKevin P. Fleming <kpfleming@digium.com>
Fri, 11 Jul 2008 14:16:15 +0000 (14:16 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Fri, 11 Jul 2008 14:16:15 +0000 (14:16 +0000)
commit0024d6846e18c9718fdd3a1e828c83ea0f405542
treedbaf76e9988dd1fd0cad9a9ee1422340028402a6
parent1fad38124dfbfff195262f21ebf6c6269ae5dcc6
Merged revisions 129966 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r129966 | kpfleming | 2008-07-11 09:03:52 -0500 (Fri, 11 Jul 2008) | 5 lines

fix a flaw found while experimenting with structure alignment and padding; low-fence checking would not work properly on 64-bit platforms, because the compiler was putting 4 bytes of padding between the fence field and the allocation memory block

added a very obvious runtime warning if this condition reoccurs, so the developer who broke it can be chastised into fixing it :-)

........
r129967 | kpfleming | 2008-07-11 09:03:52 -0500 (Fri, 11 Jul 2008) | 5 lines

simplify calculation

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@129968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/astmm.c