fix a flaw found while experimenting with structure alignment and padding; low-fence...
commitd759b66ff6bf831f7ed9b13f1012f301238e38a1
authorkpfleming <kpfleming@614ede4d-c843-0410-af14-a771ab80d22e>
Fri, 11 Jul 2008 14:03:52 +0000 (11 14:03 +0000)
committerkpfleming <kpfleming@614ede4d-c843-0410-af14-a771ab80d22e>
Fri, 11 Jul 2008 14:03:52 +0000 (11 14:03 +0000)
tree798a91357a1d31367c2ce060224033f989fb4a71
parent3201b38f6b9728798a1370e12784e559e46085ec
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 :-)

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@129966 614ede4d-c843-0410-af14-a771ab80d22e
main/astmm.c