diff --git a/util/ceg/ce_back/as_back/gen1.c b/util/ceg/ce_back/as_back/gen1.c index 7d766e3c4..83c77e52f 100644 --- a/util/ceg/ce_back/as_back/gen1.c +++ b/util/ceg/ce_back/as_back/gen1.c @@ -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); } diff --git a/util/ceg/ce_back/as_back/gen2.c b/util/ceg/ce_back/as_back/gen2.c index 26172f208..6af489e55 100644 --- a/util/ceg/ce_back/as_back/gen2.c +++ b/util/ceg/ce_back/as_back/gen2.c @@ -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); } diff --git a/util/ceg/ce_back/as_back/gen4.c b/util/ceg/ce_back/as_back/gen4.c index 6871179a5..3209f6584 100644 --- a/util/ceg/ce_back/as_back/gen4.c +++ b/util/ceg/ce_back/as_back/gen4.c @@ -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); } diff --git a/util/ceg/ce_back/obj_back/gen1.c b/util/ceg/ce_back/obj_back/gen1.c index 664f9fe56..293addcb1 100644 --- a/util/ceg/ce_back/obj_back/gen1.c +++ b/util/ceg/ce_back/obj_back/gen1.c @@ -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; diff --git a/util/ceg/ce_back/obj_back/gen2.c b/util/ceg/ce_back/obj_back/gen2.c index 390368558..02c09711c 100644 --- a/util/ceg/ce_back/obj_back/gen2.c +++ b/util/ceg/ce_back/obj_back/gen2.c @@ -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; diff --git a/util/ceg/ce_back/obj_back/gen4.c b/util/ceg/ce_back/obj_back/gen4.c index 98cb08ca3..c435b462c 100644 --- a/util/ceg/ce_back/obj_back/gen4.c +++ b/util/ceg/ce_back/obj_back/gen4.c @@ -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;