]> www.vanbest.org Git - sasc-ng.git/commitdiff
fix compile errors in 0.8.6 release
authorleslie <unknown>
Thu, 27 Dec 2007 21:12:48 +0000 (22:12 +0100)
committerleslie <unknown>
Thu, 27 Dec 2007 21:12:48 +0000 (22:12 +0100)
system-common.c
systems/cardclient/camd.c
systems/irdeto/irdeto.c
systems/nagra/nagra2-0101.c

index eec12fe98fcc706892bd5ea726378f7c6afbc966..8830b631530f9f895cb1a341dd61b390c65b7204 100644 (file)
@@ -18,6 +18,7 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <malloc.h>
 #include <ctype.h>
index 7d5c09623a41ea5aa6c81c30c57a83079b3bd775..72e4d1b4a2191b714c66ba204080c8bc20d84fad 100644 (file)
@@ -18,6 +18,7 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <byteswap.h>
 
index 9f180730db0ea5e39d64f86747b97587e807b244..44860a65299585941b13fd55ac4f69c58b667f82 100644 (file)
@@ -18,6 +18,7 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 
 #include "system-common.h"
index 8369d8b0a8187adb5759cfee5d06e60c1be9b9b9..2e5f2c31a6b7923ca73ae4163c51965fcab06b9d 100644 (file)
@@ -901,9 +901,9 @@ bool cN2Prov0101::ProcessDESMap(int f)
       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);