From ca42601e1f23cdf43f52f8f317b660e20d885e5b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 22 Feb 2005 12:56:58 +0000 Subject: [PATCH] fix two sim warnings git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6036 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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