aboutsummaryrefslogtreecommitdiff
path: root/m4/ax_pthread.m4
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-25 14:14:54 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-25 15:12:41 +0200
commit0880db76afe85391430c547a67bad54b655a66e1 (patch)
tree3fc8013c53f22771d1b2bfca1bcdf88f233a8a09 /m4/ax_pthread.m4
parent41dc1dfaa0a290ef62800e603bb6b51a48501129 (diff)
libutil: cleanup alignment trickery in mempool
- Store the return value of the page allocation directly into the pool variable instead of an intermediate unsigned char pointer. - Make the blob[] array the same type as the bitmap, this saves us manual alignment trickery. - Cleanup the pointer arithmetic, let the compiler do the sizeof() multiplication. - Use uintptr_t for the manual alignment of the data pointer, so we don't run into signdness problems there. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'm4/ax_pthread.m4')
0 files changed, 0 insertions, 0 deletions