All pastes #834630 Raw Edit

sc-0.8.6_fixups

public diff v1 · immutable
#834630 ·published 2007-12-28 10:34 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);