commit | c36a14f24507a3fd988430eba872ded895ed6913 | [log] [tgz] |
---|---|---|
author | Tommi Rantala <tt.rantala@gmail.com> | Wed Sep 19 13:57:07 2012 +0300 |
committer | Tommi Rantala <tt.rantala@gmail.com> | Fri Sep 28 13:52:22 2012 +0300 |
tree | ea6306da0d6c6bae678733e01e33b1bf02018aca | |
parent | e6edad069c95127383a8122608a6bd3785413204 [diff] |
Workaround non-power-of-two i386 sizeof(long double) in src/mi/mempool.c To ensure that we return properly aligned pointers from sos_alloc(), MAX_ALIGN must be a power-of-two. On i386 the power-of-two assumption fails as sizeof(long double) = 12. Fix this by rounding up to 16.