1
0
Fork 0
forked from len0rd/rockbox
foxbox/lib/tlsf/src
Amaury Pouly d7871914ac Fix dangerous casts
On Windows 64-bit, the size of long is 32-bit, thus any pointer to long cast is
not valid. In any case, one should use intptr_t and ptrdiff_t when casting
to integers. This commit attempts to fix all instances reported by GCC.
When relevant, I replaced code by the macros PTR_ADD, ALIGN_UP from system.h

Change-Id: I2273b0e8465d3c4689824717ed5afa5ed238a2dc
2017-02-04 17:24:47 +01:00
..
target.h tlsf: move to /lib (it's also used by plugins). 2012-03-28 23:02:39 +02:00
tlsf.c Fix dangerous casts 2017-02-04 17:24:47 +01:00
tlsf.h tlsf: move to /lib (it's also used by plugins). 2012-03-28 23:02:39 +02:00