summaryrefslogtreecommitdiff
path: root/plugin.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-05-22 11:29:52 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-05-22 11:29:52 +0200
commita767ff9c5d65522700841f0a6fb866258deb56b1 (patch)
tree59ebdab933c9f5e1a51bbb9260abfe88fb2bcb01 /plugin.c
parentb8c26cd48268597800862a768cc34c60c41d1ffe (diff)
downloadvdr-a767ff9c5d65522700841f0a6fb866258deb56b1.tar.gz
vdr-a767ff9c5d65522700841f0a6fb866258deb56b1.tar.bz2
Fixed some issues with gcc 3.4
Diffstat (limited to 'plugin.c')
-rw-r--r--plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin.c b/plugin.c
index a0d27011..7f211b3c 100644
--- a/plugin.c
+++ b/plugin.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: plugin.c 1.10 2003/08/30 14:52:58 kls Exp $
+ * $Id: plugin.c 1.11 2004/05/22 11:25:22 kls Exp $
*/
#include "plugin.h"
@@ -162,7 +162,7 @@ bool cDll::Load(bool Log)
const char *error = dlerror();
if (!error) {
void *(*creator)(void);
- (void *)creator = dlsym(handle, "VDRPluginCreator");
+ creator = (void *(*)(void))dlsym(handle, "VDRPluginCreator");
if (!(error = dlerror()))
plugin = (cPlugin *)creator();
}