%D => %ld

This commit is contained in:
keie 1985-06-21 12:55:17 +00:00
parent 6de8b41da2
commit 6f22e5b7d9

View file

@ -322,7 +322,7 @@ int table3(i) {
case sp_ilb2: case sp_ilb2:
argval = get16(); argval = get16();
if ( argval<0 ) { if ( argval<0 ) {
error("illegal instruction label %D",argval); error("illegal instruction label %ld",argval);
argval=0 ; argval=0 ;
} }
break; break;
@ -421,12 +421,12 @@ puttyp(t) {
break; break;
case sp_cst2: case sp_cst2:
case sp_cst4: case sp_cst4:
printf("%D",argval); printf("%ld",argval);
break; break;
case sp_doff: case sp_doff:
puttyp(offtyp); puttyp(offtyp);
if (argval >= 0) putchar('+'); if (argval >= 0) putchar('+');
printf("%D",argval); printf("%ld",argval);
break; break;
case sp_pnam: case sp_pnam:
putstr('$',0); putstr('$',0);
@ -436,15 +436,15 @@ puttyp(t) {
break; break;
case sp_icon: case sp_icon:
putstr(0,'I'); putstr(0,'I');
printf("%D",argval); printf("%ld",argval);
break; break;
case sp_ucon: case sp_ucon:
putstr(0,'U'); putstr(0,'U');
printf("%D",argval); printf("%ld",argval);
break; break;
case sp_fcon: case sp_fcon:
putstr(0,'F'); putstr(0,'F');
printf("%D",argval); printf("%ld",argval);
break; break;
case sp_cend: case sp_cend:
putchar('?'); putchar('?');