rockbox/firmware/asm
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
..
arm
m68k
mips
sh
asm.make
beep.c
corelock.c
ffs.c
lcd-as-memframe-24bit.c
lcd-as-memframe.c
memcpy.c
memmove.c
mempcpy.c
memset.c
memset16.c Fix dangerous casts 2017-02-04 17:24:47 +01:00
pcm-mixer.c
SOURCES
strlen.c
thread-unix.c
thread-win32.c
thread.c
thread.h