summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-02-22 12:56:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-02-22 12:56:58 +0000
commitca42601e1f23cdf43f52f8f317b660e20d885e5b (patch)
tree5c5d6d0d47b030340d8cdcfcc282fa9905865322 /apps/plugin.c
parenta459965d46fe682a9dcff63362e76805b762823d (diff)
fix two sim warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6036 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 1198f93434..8ec4c08258 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -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