fix two sim warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6036 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a459965d46
commit
ca42601e1f
1 changed files with 3 additions and 1 deletions
|
@ -264,7 +264,9 @@ int plugin_load(const char* plugin, void* parameter)
|
|||
{
|
||||
enum plugin_status (*plugin_start)(struct plugin_api* api, void* param);
|
||||
int rc;
|
||||
#ifndef SIMULATOR
|
||||
char buf[64];
|
||||
#endif
|
||||
int fd;
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
|
@ -287,7 +289,7 @@ int plugin_load(const char* plugin, void* parameter)
|
|||
lcd_clear_display();
|
||||
#endif
|
||||
#ifdef SIMULATOR
|
||||
plugin_start = sim_plugin_load(plugin, &fd);
|
||||
plugin_start = sim_plugin_load((char *)plugin, &fd);
|
||||
if(!plugin_start)
|
||||
return -1;
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue