File asl-gcc4.patch of Package asl

--- code3254x.c
+++ code3254x.c
@@ -119,7 +119,6 @@
 static IntType OpSize;
 static ShortInt AdrMode;
 static Word AdrVals[3];
-static int AdrCnt;
 
 static Boolean ThisPar;
 static Word LastOpCode;
@@ -532,7 +531,7 @@
 
           if (!DecodeAdr(ArgStr[2], MModMem))
             break;
-          if (!MakeXY(&Shift, True))
+          if (!MakeXY((Word *) &Shift, True))
             break;
           WAsmCode[0] |= Shift;
           Shift = 254;
@@ -2393,8 +2392,6 @@
 /*-------------------------------------------------------------------------*/
 /* Code Table Handling */
 
-static int InstrZ;
-
 static void AddFixed(char *Name, Word Code, Boolean IsRepeatable)
 {
   if (InstrZ >= FixedOrderCnt)
openSUSE Build Service is sponsored by