diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-05-22 11:29:52 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-05-22 11:29:52 +0200 |
commit | a767ff9c5d65522700841f0a6fb866258deb56b1 (patch) | |
tree | 59ebdab933c9f5e1a51bbb9260abfe88fb2bcb01 /plugin.c | |
parent | b8c26cd48268597800862a768cc34c60c41d1ffe (diff) | |
download | vdr-a767ff9c5d65522700841f0a6fb866258deb56b1.tar.gz vdr-a767ff9c5d65522700841f0a6fb866258deb56b1.tar.bz2 |
Fixed some issues with gcc 3.4
Diffstat (limited to 'plugin.c')
-rw-r--r-- | plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); } |