rockbox/apps/plugins/lib
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
..
bmp_smooth_scale.c lcd-24bit: Introduce a 24-bit mid-level LCD driver 2014-06-21 00:15:53 +02:00
checkbox.c
checkbox.h
configfile.c
configfile.h
display_text.c
display_text.h
feature_wrappers.h
gcc-support.c Revert "SH gcc 4.6.3 with link-time optimization, for Archos targets" 2012-10-24 14:05:39 +02:00
grey.h lcd/grey: Enable viewport fg_pattern and bg_pattern for all bitmap targets. 2014-01-07 22:14:41 +01:00
grey_coldfire.S
grey_core.c Fix red/yellow 2015-01-12 12:02:24 +01:00
grey_draw.c lcd/grey: Enable viewport fg_pattern and bg_pattern for all bitmap targets. 2014-01-07 22:14:41 +01:00
grey_parm.c lcd/grey: Enable viewport fg_pattern and bg_pattern for all bitmap targets. 2014-01-07 22:14:41 +01:00
grey_scroll.c lcd/grey: Enable viewport fg_pattern and bg_pattern for all bitmap targets. 2014-01-07 22:14:41 +01:00
grey_sh.S Fix assembler .size directives. Currently used binutils don't complain, but 2.21.1 treats these as errors. 2011-11-09 19:20:33 +00:00
helper.c Lamp plugin: Allow toggling the button light using "select". 2015-02-22 12:22:40 +01:00
helper.h Lamp plugin: Allow toggling the button light using "select". 2015-02-22 12:22:40 +01:00
highscore.c
highscore.h
jhash.c
jhash.h
jpeg_mem.h
md5.c
md5.h
mylcd.h Adapt OSD in plugin lib to be greylib compatible. 2012-12-18 19:16:26 -05:00
osd.c lcd-24bit: Introduce a 24-bit mid-level LCD driver 2014-06-21 00:15:53 +02:00
osd.h Adapt OSD in plugin lib to be greylib compatible. 2012-12-18 19:16:26 -05:00
overlay.c load_code/overlay: Don't close plugin handle before calling the plugin. 2012-05-26 22:57:21 +02:00
overlay.h
picture.c
picture.h
playback_control.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
playback_control.h
playergfx.c
playergfx.h
pluginlib_actions.c Replace SAMSUNG_YH920_PAD with YH92X 2016-01-25 09:23:09 +01:00
pluginlib_actions.h
pluginlib_albumart.c
pluginlib_bmp.c lcd-24bit: Introduce a 24-bit mid-level LCD driver 2014-06-21 00:15:53 +02:00
pluginlib_bmp.h
pluginlib_exit.h
pluginlib_jpeg_idct_arm.S
pluginlib_jpeg_load.c
pluginlib_jpeg_mem.c
pluginlib_resize.c
pluginlib_touchscreen.c lcd-common: Remove support for custom line heights from viewport. 2014-01-07 14:13:48 +01:00
pluginlib_touchscreen.h pluginlib_touchscreen: Rework API to offer wait-for-button APIs. 2012-01-27 09:15:05 +01:00
profile_plugin.c
profile_plugin.h
read_image.c
read_image.h
rgb_hsv.c
rgb_hsv.h
sha1.c Fix endianness handling for sha1 (used by the otp plugin) 2016-06-28 13:33:50 +02:00
sha1.h One-Time Password client (HOTP and TOTP) 2016-06-05 14:25:09 -04:00
simple_viewer.c Fix dangerous casts 2017-02-04 17:24:47 +01:00
simple_viewer.h
SOURCES One-Time Password client (HOTP and TOTP) 2016-06-05 14:25:09 -04:00
strncpy.c Fix dangerous casts 2017-02-04 17:24:47 +01:00
wrappers.h
xlcd.h Add circle drawing/filling to xlcd 2016-12-18 18:35:52 +01:00
xlcd_core.c
xlcd_draw.c Add circle drawing/filling to xlcd 2016-12-18 18:35:52 +01:00
xlcd_scroll.c Also fix uninitialized variables in xlcd_scroll_up()/xlcd_scroll_down() 2011-08-25 20:47:44 +00:00