mirror of
https://github.com/rcornwell/sims.git
synced 2026-01-22 10:31:12 +00:00
I7000: Fixed minor compiler warnings.
This commit is contained in:
parent
c663c1ff53
commit
d609e81f66
@ -290,7 +290,7 @@ print_line(UNIT * uptr, int chan, int unit)
|
||||
}
|
||||
|
||||
if (outsel & PRINT_1) {
|
||||
while (uptr->u4 < (uint32)uptr->capac) {
|
||||
while (uptr->u4 < (int32)uptr->capac) {
|
||||
if (uptr->flags & UNIT_ATT)
|
||||
sim_fwrite("\n\r", 1, 2, uptr->fileref);
|
||||
if (uptr->flags & ECHO) {
|
||||
@ -301,8 +301,8 @@ print_line(UNIT * uptr, int chan, int unit)
|
||||
}
|
||||
}
|
||||
|
||||
if (uptr->u4 >= (uint32)uptr->capac) {
|
||||
uptr->u4 -= (uint32)uptr->capac;
|
||||
if (uptr->u4 >= (int32)uptr->capac) {
|
||||
uptr->u4 -= (int32)uptr->capac;
|
||||
dev_pulse[chan] |= PRINT_I;
|
||||
}
|
||||
|
||||
@ -627,7 +627,6 @@ void
|
||||
lpr_ini(UNIT * uptr, t_bool f)
|
||||
{
|
||||
int u = (uptr - lpr_unit);
|
||||
int i;
|
||||
|
||||
uptr->u3 = 0;
|
||||
uptr->u4 = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user