]> granicus.if.org Git - re2c/commit
Use correct formula to find the next aligned address.
authorUlya Trofimovich <skvadrik@gmail.com>
Wed, 8 May 2019 06:35:42 +0000 (07:35 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Wed, 8 May 2019 06:35:42 +0000 (07:35 +0100)
commitcf24d925dc4776dbccc6143d34760da696dd3eb6
tree08c68874772b9d0d0ec4d7642979d64c17219123
parent9b640359e9c81c04465797cc093865165683d3fd
Use correct formula to find the next aligned address.

The previous formula worked incorrectly for already aligned addresses
(it added alignment to them).
src/util/slab_allocator.h