1
0
mirror of https://github.com/open-simh/simh.git synced 2026-05-03 14:49:02 +00:00

Cleaned up a few compile complaints

This commit is contained in:
Mark Pizzolato
2012-04-27 12:11:12 -07:00
parent 8989b111c1
commit f77a38c3c5
4 changed files with 25 additions and 25 deletions

View File

@@ -761,7 +761,7 @@ t_stat st;
sim_debug (ctx->dbit, ctx->dptr, "sim_tape_rdrecf(unit=%d, buf=%p, max=%d)\n", uptr-ctx->dptr->units, buf, max);
opos = uptr->pos; /* old position */
if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */
if (MTSE_OK != (st = sim_tape_rdlntf (uptr, &tbc))) /* read rec lnt */
return st;
*bc = rbc = MTR_L (tbc); /* strip error flag */
if (rbc > max) { /* rec out of range? */
@@ -823,7 +823,7 @@ t_stat st;
sim_debug (ctx->dbit, ctx->dptr, "sim_tape_rdrecr(unit=%d, buf=%p, max=%d)\n", uptr-ctx->dptr->units, buf, max);
if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */
if (MTSE_OK != (st = sim_tape_rdlntr (uptr, &tbc))) /* read rec lnt */
return st;
*bc = rbc = MTR_L (tbc); /* strip error flag */
if (rbc > max) /* rec out of range? */