summaryrefslogtreecommitdiff
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
parentb8c26cd48268597800862a768cc34c60c41d1ffe (diff)
downloadvdr-a767ff9c5d65522700841f0a6fb866258deb56b1.tar.gz
vdr-a767ff9c5d65522700841f0a6fb866258deb56b1.tar.bz2
Fixed some issues with gcc 3.4
-rw-r--r--CONTRIBUTORS4
-rw-r--r--HISTORY2
-rw-r--r--config.h4
-rw-r--r--plugin.c4
4 files changed, 10 insertions, 4 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 48e1e229..c4ef8363 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -670,6 +670,7 @@ Marcel Wiesweg <marcel.wiesweg@gmx.de>
for fixing testing for matching section filters in case they are turned off
for adding 'libsi' include files to the 'include' directory, so that plugins can
use them
+ for his help in fixing some issues with gcc 3.4
Torsten Herz <torsten.herz@web.de>
for fixing a possible deadlock when using the "Blue" button in the "Schedules" menu
@@ -974,3 +975,6 @@ John Kennedy <rkennedy@ix.netcom.com>
Drazen Dupor <drazen.dupor@dupor.com>
for translating OSD texts to the Croatian language
+
+Prakash K. Cheemplavam <PrakashKC@gmx.de>
+ for fixing some issues with gcc 3.4
diff --git a/HISTORY b/HISTORY
index 8cbf9e44..721aa417 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2810,3 +2810,5 @@ Video Disk Recorder Revision History
- Fixed a crash when switching the skin and having selected a non-default theme
that is not available for the newly selected skin (thanks to Sascha Volkenandt
for reporting this one).
+- Fixed some issues with gcc 3.4 (thanks to Prakash K. Cheemplavam and Marcel
+ Wiesweg).
diff --git a/config.h b/config.h
index af3b2ae0..18f3aeaf 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.h 1.194 2004/05/22 10:33:46 kls Exp $
+ * $Id: config.h 1.195 2004/05/22 11:29:52 kls Exp $
*/
#ifndef __CONFIG_H
@@ -140,7 +140,7 @@ public:
bool Save(void)
{
bool result = true;
- T *l = (T *)First();
+ T *l = (T *)this->First();
cSafeFile f(fileName);
if (f.Open()) {
while (l) {
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();
}