]> jfr.im git - irc/atheme/libmowgli-2.git/commit
core/heap.enabled: use size_t consistently
authorAaron Jones <redacted>
Mon, 21 Jan 2019 10:37:57 +0000 (10:37 +0000)
committerAaron Jones <redacted>
Mon, 21 Jan 2019 10:37:57 +0000 (10:37 +0000)
commitebbc4a7c20d12afc6e4244ad9d110740a567108f
treeaed0a325d256fc22ba3c7a8d3ff1cc5a86ff8243
parent294ff129e5d8a2cc17ef8a6446f496ac912326f4
core/heap.enabled: use size_t consistently

The previous code was using `unsigned int'. This could be truncated on
a 64-bit system with many allocations.

Fortunately this implementation is entirely internal, and so changing
the data type does not break the ABI; the function declarations were
already using the correct type.
src/libmowgli/core/heap.enabled.c