mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-20 10:32:42 -05:00
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 |
||
|---|---|---|
| .. | ||
| 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 | ||
| pcm-mixer.c | ||
| SOURCES | ||
| strlen.c | ||
| thread-unix.c | ||
| thread-win32.c | ||
| thread.c | ||
| thread.h | ||