rockbox/firmware/kernel
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
..
include Remove I/O priority. It is harmful when used with the new file code. 2014-08-30 14:01:21 -04:00
pthread Base scheduler queues off linked lists and do cleanup/consolidation 2014-08-16 05:15:37 -04:00
corelock.c
kernel-internal.h Do some kernel cleanup 2014-08-08 01:59:59 -04:00
mrsw_lock.c Add CPU mode asserts to kernel on blocking functions. 2017-01-21 14:25:52 -05:00
mutex.c Add CPU mode asserts to kernel on blocking functions. 2017-01-21 14:25:52 -05:00
queue.c Fix dangerous casts 2017-02-04 17:24:47 +01:00
semaphore.c Add CPU mode asserts to kernel on blocking functions. 2017-01-21 14:25:52 -05:00
thread-common.c Base scheduler queues off linked lists and do cleanup/consolidation 2014-08-16 05:15:37 -04:00
thread-internal.h In queue_wait_w_tmo, guarantee wait duration 2017-02-02 23:51:55 -05:00
thread.c Add CPU mode asserts to kernel on blocking functions. 2017-01-21 14:25:52 -05:00
tick.c
timeout.c