Added some conversions

This commit is contained in:
ceriel 1989-01-20 14:54:55 +00:00
parent fa9d7ce5ce
commit b1b4ba9677
6 changed files with 6 additions and 6 deletions

View 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);
}

View 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);
}

View 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);
}

View 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;

View 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;

View 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;