Fixed some issues with gcc 3.4

This commit is contained in:
Klaus Schmidinger 2004-05-22 11:29:52 +02:00
parent b8c26cd482
commit a767ff9c5d
4 changed files with 10 additions and 4 deletions

View File

@ -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

View File

@ -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).

View File

@ -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) {

View File

@ -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();
}