fixed parameter types
authorceriel <none@none>
Fri, 20 Jan 1989 15:01:37 +0000 (15:01 +0000)
committerceriel <none@none>
Fri, 20 Jan 1989 15:01:37 +0000 (15:01 +0000)
15 files changed:
util/ceg/ce_back/as_back/con1.c
util/ceg/ce_back/as_back/con2.c
util/ceg/ce_back/as_back/con4.c
util/ceg/ce_back/as_back/gen1.c
util/ceg/ce_back/as_back/gen2.c
util/ceg/ce_back/as_back/gen4.c
util/ceg/ce_back/as_back/reloc1.c
util/ceg/ce_back/as_back/reloc2.c
util/ceg/ce_back/as_back/reloc4.c
util/ceg/ce_back/as_back/rom1.c
util/ceg/ce_back/as_back/rom2.c
util/ceg/ce_back/as_back/rom4.c
util/ceg/ce_back/as_back/text1.c
util/ceg/ce_back/as_back/text2.c
util/ceg/ce_back/as_back/text4.c

index df74cef..4b8bfd5 100644 (file)
@@ -1,7 +1,7 @@
 #include "header.h"
 
 con1( w)
-arith w;
+ONE_BYTE w;
 {
        gen1( w);
 }
index 258bdc4..b7c93bd 100644 (file)
@@ -1,7 +1,7 @@
 #include "header.h"
 
 con2( w)
-arith w;
+TWO_BYTES w;
 {
        gen2( w);
 }
index 9b806b5..6758232 100644 (file)
@@ -1,7 +1,7 @@
 #include "header.h"
 
 con4( w)
-arith w;
+FOUR_BYTES w;
 {
        gen4( w);
 }
index 83c77e5..6655466 100644 (file)
@@ -1,14 +1,14 @@
 #include "header.h"
 
 gen1( w)
-arith w;
+ONE_BYTE w;
 {
        switch ( cur_seg) {
-         case SEGTXT : fprint( codefile, BYTE_FMT, (arith) w);
+         case SEGTXT : fprint( codefile, BYTE_FMT, (long) w);
                        break;
-         case SEGCON : fprint( codefile, BYTE_FMT, (arith) w);
+         case SEGCON : fprint( codefile, BYTE_FMT, (long) w);
                        break;
-         case SEGROM : fprint( codefile, BYTE_FMT, (arith) w);
+         case SEGROM : fprint( codefile, BYTE_FMT, (long) w);
                        break;
          case SEGBSS : bss( (arith) 1);
                        break;
index 6af489e..43ecd02 100644 (file)
@@ -1,14 +1,14 @@
 #include "header.h"
 
 gen2( w)
-arith w;
+TWO_BYTES w;
 {
        switch ( cur_seg) {
-         case SEGTXT : fprint( codefile, WORD_FMT, (arith) w);
+         case SEGTXT : fprint( codefile, WORD_FMT, (long) w);
                        break;
-         case SEGCON : fprint( codefile, WORD_FMT, (arith) w);
+         case SEGCON : fprint( codefile, WORD_FMT, (long) w);
                        break;
-         case SEGROM : fprint( codefile, WORD_FMT, (arith) w);
+         case SEGROM : fprint( codefile, WORD_FMT, (long) w);
                        break;
          case SEGBSS : bss( (arith) 2);
                        break;
index 3209f65..80f231a 100644 (file)
@@ -1,14 +1,14 @@
 #include "header.h"
 
 gen4( w)
-arith w;
+FOUR_BYTES w;
 {
        switch ( cur_seg) {
-         case SEGTXT : fprint( codefile, LONG_FMT, (arith) w);
+         case SEGTXT : fprint( codefile, LONG_FMT, (long) w);
                        break;
-         case SEGCON : fprint( codefile, LONG_FMT, (arith) w);
+         case SEGCON : fprint( codefile, LONG_FMT, (long) w);
                        break;
-         case SEGROM : fprint( codefile, LONG_FMT, (arith) w);
+         case SEGROM : fprint( codefile, LONG_FMT, (long) w);
                        break;
          case SEGBSS : bss( (arith) 4);
                        break;
index 24557b8..a32fb61 100644 (file)
@@ -5,5 +5,5 @@ char *s;
 arith o;
 int r;
 {
-       fprint( codefile, RELOC1_FMT, s, (arith) o);
+       fprint( codefile, RELOC1_FMT, s, (long) o);
 }
index 85a4485..e07d35f 100644 (file)
@@ -5,5 +5,5 @@ char *s;
 arith o;
 int r;
 {
-       fprint( codefile, RELOC2_FMT, s, (arith) o);
+       fprint( codefile, RELOC2_FMT, s, (long) o);
 }
index 773231d..14d6ad8 100644 (file)
@@ -5,5 +5,5 @@ char *s;
 arith o;
 int r;
 {
-       fprint( codefile, RELOC4_FMT, s, (arith) o);
+       fprint( codefile, RELOC4_FMT, s, (long) o);
 }
index dec8207..41ece4a 100644 (file)
@@ -1,7 +1,7 @@
 #include "header.h"
 
 rom1( w)
-arith w;
+ONE_BYTE w;
 {
        gen1( w);
 }
index f641186..32e68f2 100644 (file)
@@ -1,7 +1,7 @@
 #include "header.h"
 
 rom2( w)
-arith w;
+TWO_BYTES w;
 {
        gen2( w);
 }
index 89eca33..5713c54 100644 (file)
@@ -1,7 +1,7 @@
 #include "header.h"
 
 rom4( w)
-arith w;
+FOUR_BYTES w;
 {
        gen4( w);
 }
index d95be85..daf9f57 100644 (file)
@@ -1,7 +1,7 @@
 #include "header.h"
 
 text1( w)
-arith w;
+ONE_BYTE w;
 {
        gen1( w);
 }
index 6ec0d1c..cc3f979 100644 (file)
@@ -1,7 +1,7 @@
 #include "header.h"
 
 text2( w)
-arith w;
+TWO_BYTES w;
 {
        gen2( w);
 }
index 9d033bd..68bc2ef 100644 (file)
@@ -1,7 +1,7 @@
 #include "header.h"
 
 text4( w)
-arith w;
+FOUR_BYTES w;
 {
        gen4( w);
 }