rockbox/apps/plugins/mikmod
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
..
drv_nos.c
load_669.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
load_amf.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
load_asy.c
load_dsm.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
load_far.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
load_gdm.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
load_gt2.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
load_imf.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
load_it.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
load_m15.c
load_med.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
load_mod.c
load_mtm.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
load_okt.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
load_s3m.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
load_stm.c Prevent theoretical out-of-bounds access in STM_Load() 2014-12-20 13:37:40 +01:00
load_stx.c
load_ult.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
load_uni.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
load_xm.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
mdreg.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
mdriver.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
mikmod.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
mikmod.h
mikmod.make Deprecate the EXTRA_LIBS variable. 2013-01-24 16:06:45 +01:00
mikmod_internals.h Fix dangerous casts 2017-02-04 17:24:47 +01:00
mikmod_supp.h tlsf: move to /lib (it's also used by plugins). 2012-03-28 23:02:39 +02:00
mloader.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
mlreg.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
mlutil.c Remove several 'set but not used' GCC 4.6.1 warnings from MikMod. 2011-09-03 23:54:43 +00:00
mmalloc.c
mmerror.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
mmio.c mikmod plugin: Remove bogus doubled return statement 2014-12-22 22:33:28 +01:00
mplayer.c mikmod plugin: make functions static when possible 2012-04-14 17:31:14 +02:00
munitrk.c
npertab.c
sloader.c
SOURCES
strdup.c
strstr.c
virtch.c
virtch_common.c