1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/target
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 zen/zenxfi: adjust maximum emi voltage 2017-02-04 17:17:44 +01:00
coldfire Fix red/yellow 2015-01-12 12:02:24 +01:00
hosted Fix dangerous casts 2017-02-04 17:24:47 +01:00
mips Fix red/yellow 2015-01-12 12:02:24 +01:00
sh Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00