All pastes #834678 Raw Edit

sc-0.8.6_fixups

public diff v1 · immutable
#834678 ·published 2007-12-28 11:30 UTC
rendered paste body
--- system-common.c~	2007-12-09 04:40:17.000000000 +0100+++ system-common.c	2007-12-28 11:22:48.000000000 +0100@@ -21,6 +21,7 @@ #include <string.h> #include <malloc.h> #include <ctype.h>+#include <stdlib.h>  #include <vdr/tools.h> --- systems/cardclient/camd.c~	2007-12-17 21:49:44.000000000 +0100+++ systems/cardclient/camd.c	2007-12-28 11:21:40.000000000 +0100@@ -20,6 +20,7 @@ #include <stdio.h> #include <string.h> #include <byteswap.h>+#include <stdlib.h>  #include "cc.h" #include "network.h"--- systems/irdeto/irdeto.c~	2007-12-17 21:46:07.000000000 +0100+++ systems/irdeto/irdeto.c	2007-12-28 11:21:42.000000000 +0100@@ -19,6 +19,7 @@  #include <stdio.h> #include <string.h>+#include <stdlib.h>  #include "system-common.h" #include "data.h"--- systems/nagra/nagra2-0101.c~	2007-12-21 18:45:02.000000000 +0100+++ systems/nagra/nagra2-0101.c		2007-12-28 11:21:39.000000000 +0100@@ -901,9 +901,9 @@       break;     case 0x0e:  // get DES key1 and key2       GetMem(HILO(0x25),data,8,Get(0x24));-      DES_key_sched(DES_CAST(data),&desks1);+      DES_key_sched((DES_cblock *)data,&desks1);       GetMem(HILO(0x28),data,8,Get(0x27));-      DES_key_sched(DES_CAST(data),&desks2);+      DES_key_sched((DES_cblock *)data,&desks2);       break;     case 0x0f:  // set DES size       desSize=Get(0x2d);--- systems/nagra/nagra2.c~	2007-12-21 18:45:02.000000000 +0100+++ systems/nagra/nagra2.c		2007-12-28 11:21:39.000000000 +0100@@ -798,6 +798,7 @@   cTimeMs minTime;    if(id==0x4101) StartLog(ecm,0x1881); // D+ AU+  if(id==0x0503||id==0x0505||id==0511) id=0x0501;        if(cmdLen<64 || SCT_LEN(data)<cmdLen+10) {     if(doLog) PRINTF(L_SYS_ECM,"bad ECM message msgLen=%d sctLen=%d",cmdLen,SCT_LEN(data));