Cleaned up compiler noticed issues

This commit is contained in:
Mark Pizzolato 2012-04-27 15:06:39 -07:00
parent c7f778ca79
commit 78009646f0
2 changed files with 6 additions and 3 deletions

View file

@ -706,7 +706,7 @@ if ( DKP_TRACE(1) )
"write"
: ((uptr->FUNC == FCCY_SEEK) ?
"seek"
: "<???>"
: "<?\?\?>"
)
)
),
@ -871,7 +871,7 @@ do {
"read"
: ((uptr->FUNC == FCCY_WRITE) ?
"write"
: "<???>")
: "<?\?\?>")
),
(unsigned) (uptr->CYL),
(unsigned) (GET_SURF(dkp_ussc, dtype)),

View file

@ -702,7 +702,7 @@ t_stat xq_show_filters (FILE* st, UNIT* uptr, int32 val, void* desc)
fprintf(st, "Filters:\n");
for (i=0; i<XQ_FILTER_MAX; i++) {
eth_mac_fmt((ETH_MAC*)xq->var->setup.macs[i], buffer);
fprintf(st, " [%2d]: %s\n", i, buffer);
fprintf(st, " [%2d]: %s\n", (int)i, buffer);
}
if (xq->var->setup.multicast)
fprintf(st, "All Multicast Receive Mode\n");
@ -2073,6 +2073,9 @@ t_stat xq_process_bootrom (CTLR* xq)
/* set to next bdl (implicit chain) */
xq->var->rbdl_ba += 12;
break;
default:
break;
} /* switch */
/* --------------------------- Done, finish up -----------------------------*/