mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Fix simulator builds, and some debugf() format strings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12817 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
75e1fd718f
commit
f68362ad6f
14 changed files with 37 additions and 36 deletions
|
@ -154,7 +154,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
|
||||
rb = api;
|
||||
|
||||
DEBUGF("%s - %s\n", parameter, &filename[rb->strlen(filename)-4]);
|
||||
DEBUGF("%s - %s\n", (char *)parameter, &filename[rb->strlen(filename)-4]);
|
||||
/* Check the extension. We only allow .m3u files. */
|
||||
if(rb->strcasecmp(&filename[rb->strlen(filename)-4], ".m3u") &&
|
||||
rb->strcasecmp(&filename[rb->strlen(filename)-5], ".m3u8")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue