Added some conversions
authorceriel <none@none>
Fri, 20 Jan 1989 14:54:55 +0000 (14:54 +0000)
committerceriel <none@none>
Fri, 20 Jan 1989 14:54:55 +0000 (14:54 +0000)
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/obj_back/gen1.c
util/ceg/ce_back/obj_back/gen2.c
util/ceg/ce_back/obj_back/gen4.c

index 7d766e3..83c77e5 100644 (file)
@@ -10,7 +10,7 @@ arith w;
                        break;
          case SEGROM : fprint( codefile, BYTE_FMT, (arith) w);
                        break;
-         case SEGBSS : bss( 1);
+         case SEGBSS : bss( (arith) 1);
                        break;
          default : fprint( STDERR, "gen1 unkown seg %d\n", cur_seg);
        }
index 26172f2..6af489e 100644 (file)
@@ -10,7 +10,7 @@ arith w;
                        break;
          case SEGROM : fprint( codefile, WORD_FMT, (arith) w);
                        break;
-         case SEGBSS : bss( 2);
+         case SEGBSS : bss( (arith) 2);
                        break;
          default : fprint( STDERR, "gen2 unkown seg %d\n", cur_seg);
        }
index 6871179..3209f65 100644 (file)
@@ -10,7 +10,7 @@ arith w;
                        break;
          case SEGROM : fprint( codefile, LONG_FMT, (arith) w);
                        break;
-         case SEGBSS : bss( 4);
+         case SEGBSS : bss( (arith) 4);
                        break;
          default : fprint( STDERR, "gen4 unkown seg %d\n", cur_seg);
        }
index 664f9fe..293addc 100644 (file)
@@ -12,7 +12,7 @@ ONE_BYTE c;
                               return;
                case SEGROM  : rom1( c);
                               return;
-               case SEGBSS  : bss( 1);
+               case SEGBSS  : bss( (arith) 1);
                               return;
                default      : fprint( STDERR, "gen1() : bad seg number\n");
                               return;
index 3903685..02c0971 100644 (file)
@@ -27,7 +27,7 @@ TWO_BYTES w;
                                *data++ = w>>8;
 #endif
                               return;
-               case SEGBSS  : bss( 2);
+               case SEGBSS  : bss( (arith) 2);
                               return;
                default      : fprint( STDERR, "gen2() : bad seg number\n");
                               return;
index 98cb08c..c435b46 100644 (file)
@@ -34,7 +34,7 @@ FOUR_BYTES l;
                        con2( (int) (l>>16));
 #endif
                        return;
-               case SEGBSS  : bss( 4);
+               case SEGBSS  : bss( (arith) 4);
                               return;
                default      : fprint( STDERR, "gen4() : bad seg number\n");
                               return;