• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category User Interface → Themes
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by kugel. - 2008-05-18
Last edited by nls - 2008-05-19

FS#9010 - checkwps warnings

When building checkwps I receive several warnings, they are all the same though. The warning just pops up for each target.

../../apps/gui/wps_parser.c: In function ‘wps_data_load’:
../../apps/gui/wps_parser.c:1530: warning: cast to pointer from integer of different size

This is caused by line 1530 in wps_parser.c, which is this:

char *wps_buffer = (char *)plugin_get_buffer(&buffersize);

Changing this line to e.g.
char *wps_buffer = (char *)1);
kills the warnings.

Note: I’m on a 64bit system, this is most likely the reason.

1) long)plugin_get_buffer(&buffersize
Closed by  nls
2008-05-19 14:37
Reason for closing:  Fixed
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

fix committed in r17582


Available keyboard shortcuts


Task Details

Task Editing