1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-05-02 22:24:22 +00:00

I7000: Fixed minor compiler warnings.

This commit is contained in:
Richard Cornwell
2017-11-21 21:44:17 -05:00
parent c663c1ff53
commit d609e81f66

View File

@@ -290,7 +290,7 @@ print_line(UNIT * uptr, int chan, int unit)
} }
if (outsel & PRINT_1) { if (outsel & PRINT_1) {
while (uptr->u4 < (uint32)uptr->capac) { while (uptr->u4 < (int32)uptr->capac) {
if (uptr->flags & UNIT_ATT) if (uptr->flags & UNIT_ATT)
sim_fwrite("\n\r", 1, 2, uptr->fileref); sim_fwrite("\n\r", 1, 2, uptr->fileref);
if (uptr->flags & ECHO) { if (uptr->flags & ECHO) {
@@ -301,8 +301,8 @@ print_line(UNIT * uptr, int chan, int unit)
} }
} }
if (uptr->u4 >= (uint32)uptr->capac) { if (uptr->u4 >= (int32)uptr->capac) {
uptr->u4 -= (uint32)uptr->capac; uptr->u4 -= (int32)uptr->capac;
dev_pulse[chan] |= PRINT_I; dev_pulse[chan] |= PRINT_I;
} }
@@ -627,7 +627,6 @@ void
lpr_ini(UNIT * uptr, t_bool f) lpr_ini(UNIT * uptr, t_bool f)
{ {
int u = (uptr - lpr_unit); int u = (uptr - lpr_unit);
int i;
uptr->u3 = 0; uptr->u3 = 0;
uptr->u4 = 0; uptr->u4 = 0;