rockbox/lib/rbcodec
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
..
codecs Fix dangerous casts 2017-02-04 17:24:47 +01:00
dsp iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
metadata Fix dangerous casts 2017-02-04 17:24:47 +01:00
test _BSD_SOURCE is deprecated, and we're supposed to use _DEFAULT_SOURCE now. 2016-03-18 21:27:15 +01:00
platform.h Enable buflib and core_alloc for warble. 2015-01-19 21:30:03 +01:00
rbcodec.make Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
rbcodecconfig-example.h Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
rbcodecplatform-unix.h Enable buflib and core_alloc for warble. 2015-01-19 21:30:03 +01:00
SOURCES three new DSPs 2015-01-19 19:34:01 +01:00