rockbox/lib/rbcodec/codecs
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
..
demac
lib Fix codecs in simulator builds on Windows 2017-01-15 21:46:19 +01:00
liba52 Fix dangerous casts 2017-02-04 17:24:47 +01:00
libalac
libasap Fix codecs in simulator builds on Windows 2017-01-15 21:46:19 +01:00
libasf Fix FS#13009. 2014-11-28 22:30:05 +01:00
libatrac
libcook
libfaad Limit more variables to file scope 2015-01-11 21:40:51 +01:00
libffmpegFLAC
libgme Limit more variables to file scope 2015-01-11 21:40:51 +01:00
libm4a
libmad
libmusepack
libopus libopus: use iram for more constants 2014-07-13 14:19:54 +02:00
libpcm
librm
libspc
libspeex Limit more variables to file scope 2015-01-11 21:40:51 +01:00
libtremor Fix dangerous casts 2017-02-04 17:24:47 +01:00
libtta
libwavpack Limit more variables to file scope 2015-01-11 21:40:51 +01:00
libwma Fix race conditions in parallel build. 2016-05-28 17:41:32 +02:00
libwmapro Fix race conditions in parallel build. 2016-05-28 17:41:32 +02:00
libwmavoice
a52.c
a52_rm.c
aac.c
adx.c
aiff.c
aiff_enc.c
alac.c
ape.c
asap.c
atrac3_oma.c
atrac3_rm.c
au.c
ay.c
codec_crt0.c
codecs.h Fix warnings from 6ed0087 2014-08-16 06:00:36 -04:00
codecs.make Fix DEBUG build codecs 2016-12-03 23:07:32 +01:00
cook.c
flac.c
gbs.c
hes.c
kss.c
mod.c Limit more variables to file scope 2015-01-11 21:40:51 +01:00
mp3_enc.c mp3_enc.c: fix MP3 recording at 32 kHz sample rate 2015-07-17 01:03:38 +02:00
mpa.c
mpc.c
nsf.c
opus.c Opus: update resume offset correctly while playing. 2016-09-07 19:44:37 +02:00
raac.c
sgc.c
shorten.c
sid.c Limit more variables to file scope 2015-01-11 21:40:51 +01:00
smaf.c
SOURCES
spc.c
speex.c
tta.c
vgm.c
vorbis.c
vox.c
wav.c
wav64.c Limit more variables to file scope 2015-01-11 21:40:51 +01:00
wav_enc.c
wavpack.c
wavpack_enc.c
wma.c
wmapro.c Fix warning in WMA Pro and remove a c++ comment. 2014-11-28 23:04:50 +01:00
wmavoice.c