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 Introducing Targets iBasso DX50 & iBasso DX90 2014-09-18 18:19:01 +02:00
m68k Add mempcpy implementation 2014-08-29 22:06:57 -04:00
mips Add mempcpy implementation 2014-08-29 22:06:57 -04:00
sh Add mempcpy implementation 2014-08-29 22:06:57 -04:00
asm.make Apparently make doesn't like inline comments 2012-03-28 23:14:39 +02:00
beep.c beep/mixer code: Code police a bit. 2012-02-19 00:38:58 -05:00
corelock.c kernel: Break out kernel primitives into separate files and move to separate dir. 2014-03-03 18:11:57 +01:00
ffs.c Generic find_first_set_bit can use __builtin_ctz instead of __builtin_ffs 2012-02-04 18:08:17 -05:00
lcd-as-memframe-24bit.c lcd-24bit: Introduce a 24-bit mid-level LCD driver 2014-06-21 00:15:53 +02:00
lcd-as-memframe.c Fix YUV generic C performance function on 24-bit framebuffer 2014-11-10 20:30:16 +01:00
memcpy.c Renamed defines UNALIGNED to ROCKBOX_UNALIGNED - UNALIGNED is already 2017-01-15 21:32:49 +01:00
memmove.c Renamed defines UNALIGNED to ROCKBOX_UNALIGNED - UNALIGNED is already 2017-01-15 21:32:49 +01:00
mempcpy.c Add mempcpy implementation 2014-08-29 22:06:57 -04:00
memset.c Renamed defines UNALIGNED to ROCKBOX_UNALIGNED - UNALIGNED is already 2017-01-15 21:32:49 +01:00
memset16.c Fix dangerous casts 2017-02-04 17:24:47 +01:00
pcm-mixer.c Coldfire: Optimize emac context save/restore in mixer ISR. 2012-03-12 00:16:12 +01:00
SOURCES Introducing Targets iBasso DX50 & iBasso DX90 2014-09-18 18:19:01 +02:00
strlen.c Renamed defines UNALIGNED to ROCKBOX_UNALIGNED - UNALIGNED is already 2017-01-15 21:32:49 +01:00
thread-unix.c thread-unix patchup! 2014-08-18 10:40:44 -04:00
thread-win32.c
thread.c Rearrange #ifdefs a bit, so SIGALTSTACK overrides CPU-specific threading. 2012-06-11 22:27:41 +02:00
thread.h Hosted builds using thread.c have errno as thread context. 2014-08-05 22:05:20 -04:00