Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] [PATCH] gcc 2.96 and DVB(cvs), VDR-0.68
Hello,
thanks to one of my frinds DVB compil with gcc-2.96 (under a Mandrake):
********************************************
--- dvb.c~ Wed Nov 22 15:07:35 2000
+++ dvb.c Wed Nov 22 15:49:28 2000
@@ -1104,7 +1104,7 @@
{
va_start(args, num);
for (i=0; i<num; i++)
- buf[i+2]=va_arg(args, u16);
+ buf[i+2]=va_arg(args, unsigned int);
va_end(args);
}
********************************************
And second patch:
********************************************
--- devices.hh~ Wed Nov 22 15:07:47 2000
+++ devices.hh Wed Nov 22 16:37:05 2000
@@ -208,7 +208,7 @@
ushort pcrpid;
void clear(void) {
- id=UNSET;
+ id=NOID;
name[0]='\0';
type=0;
pnr=NOPID;
********************************************
And also VDR-0.68:
********************************************
--- thread.c~ Tue Nov 14 19:38:25 2000
+++ thread.c Wed Nov 22 16:30:08 2000
@@ -49,7 +49,7 @@
if (!running) {
running = true;
parentPid = getpid();
- pthread_create(&thread, NULL, &StartThread, (void *)this);
+ pthread_create(&thread, NULL, (void *(*) (void *))&StartThread, (void *)this);
}
return true; //XXX return value of pthread_create()???
}
********************************************
Thanks,
Greg
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:greg@ulima.unil.ch
Home |
Main Index |
Thread Index